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
2015-11-19 08:18:38 -02:00
2015-10-26 16:00:00 +01:00
2016-01-08 14:44:09 +01:00
2015-11-23 17:54:38 +01:00
2015-11-23 17:54:38 +01:00
2015-11-23 17:54:38 +01:00
2015-11-23 17:54:38 +01:00
2016-01-06 11:39:53 +11:00
2015-11-19 11:13:19 -02:00
2015-12-10 12:33:23 +01:00
2016-02-21 22:07:10 -05:00
2015-10-26 19:38:30 -07:00
2015-10-31 19:05:59 -04:00
2016-02-19 22:54:09 -05:00
2016-01-20 17:09:18 -08:00
2016-01-30 13:35:31 -08:00
2015-11-10 10:32:37 +01:00
2016-02-11 09:53:19 -05:00
2015-12-14 12:19:37 -06:00
2015-12-20 15:27:12 +02:00
2015-12-14 19:12:21 -08:00
2015-10-23 23:26:43 +02:00
2016-02-19 15:27:36 -05:00
2016-02-07 14:02:22 -05:00
2015-12-15 23:25:20 -05:00
2015-12-17 15:12:28 -05:00
2015-10-16 15:32:05 -07:00
2015-10-26 19:06:48 -07:00
2016-02-11 04:27:35 -05:00
2016-02-11 04:27:36 -05:00
2016-01-21 19:58:02 -08:00
2016-01-07 14:48:26 +01:00
2016-01-12 08:21:18 -07:00
2015-11-17 06:47:43 -02:00
2016-01-21 12:20:46 -08:00
2016-01-11 12:35:17 -02:00
2015-11-23 15:06:38 -05:00
2015-11-23 17:54:38 +01:00
2016-02-18 11:42:18 -05:00
2016-02-18 11:42:18 -05:00
2015-10-27 03:55:10 +01:00
2015-11-23 21:53:08 -05:00
2015-12-04 14:43:32 +01:00
2015-12-14 14:00:09 -05:00
2015-10-29 17:35:40 -05:00
2015-11-23 09:58:25 +01:00
2016-01-10 22:13:15 -05:00
2015-10-21 14:46:56 -06:00
2015-10-27 19:55:13 -07:00
2015-12-17 15:08:51 -05:00
2015-12-13 19:59:48 -08:00
2015-12-13 19:59:48 -08:00
2015-12-16 11:31:33 -08:00
2015-12-15 23:26:51 -05:00
2016-01-05 16:44:06 -05:00
2016-02-16 20:27:35 -05:00
2015-12-18 17:48:51 -08:00
2015-10-27 18:55:31 -07:00
2015-11-17 06:57:29 -02:00
2015-12-21 15:28:11 -07:00
2015-12-12 08:10:40 -02:00
2015-12-10 12:33:23 +01:00
2015-12-08 21:55:49 -05:00