diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2017-01-24 01:06:28 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-24 14:46:06 -0500 |
commit | d1b662adcdb87944b7f6f7bd2f95cbb1404dbf18 (patch) | |
tree | ce847a4583aff07f03b6218180915d066949d403 /drivers/clk/clk.c | |
parent | 2492d3b867043f6880708d095a7a5d65debcfc32 (diff) | |
download | linux-d1b662adcdb87944b7f6f7bd2f95cbb1404dbf18.tar.bz2 |
bpf: allow option for setting bpf_l4_csum_replace from scratch
When programs need to calculate the csum from scratch for small UDP
packets and use bpf_l4_csum_replace() to feed the result from helpers
like bpf_csum_diff(), then we need a flag besides BPF_F_MARK_MANGLED_0
that would ignore the case of current csum being 0, and which would
still allow for the helper to set the csum and transform when needed
to CSUM_MANGLED_0.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/clk/clk.c')
0 files changed, 0 insertions, 0 deletions