Files
kernel_xiaomi_sm8250/include/uapi/linux
Daniel Borkmann 2f72959a9c bpf: fix csum update in bpf_l4_csum_replace helper for udp
When using this helper for updating UDP checksums, we need to extend
this in order to write CSUM_MANGLED_0 for csum computations that result
into 0 as sum. Reason we need this is because packets with a checksum
could otherwise become incorrectly marked as a packet without a checksum.
Likewise, if the user indicates BPF_F_MARK_MANGLED_0, then we should
not turn packets without a checksum into ones with a checksum.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-02-21 22:07:10 -05:00
..
2015-10-13 17:42:34 +02:00
2016-01-20 17:09:18 -08:00
2015-12-14 12:19:37 -06:00
2015-10-26 19:06:48 -07:00
2016-01-12 08:21:18 -07:00
2015-11-23 15:06:38 -05:00
2016-01-10 22:13:15 -05:00
2015-12-18 17:48:51 -08:00
2015-10-27 18:55:31 -07:00
2015-12-21 15:28:11 -07:00