diff options
author | Florian Westphal | 2019-05-20 13:48:10 +0200 |
---|---|---|
committer | Pablo Neira Ayuso | 2019-05-21 20:20:40 +0200 |
commit | 6bac76db1da3cb162c425d58ae421486f8e43955 (patch) | |
tree | 110be51688911771d46771b72af8d4c96e1e1dbd /net/netfilter/nf_flow_table_ip.c | |
parent | selftests: netfilter: missing error check when setting up veth interface (diff) | |
download | kernel-qcow2-linux-6bac76db1da3cb162c425d58ae421486f8e43955.tar.gz kernel-qcow2-linux-6bac76db1da3cb162c425d58ae421486f8e43955.tar.xz kernel-qcow2-linux-6bac76db1da3cb162c425d58ae421486f8e43955.zip |
netfilter: nat: fix udp checksum corruption
Due to copy&paste error nf_nat_mangle_udp_packet passes IPPROTO_TCP,
resulting in incorrect udp checksum when payload had to be mangled.
Fixes: dac3fe72596f9 ("netfilter: nat: remove csum_recalc hook")
Reported-by: Marc Haber <mh+netdev@zugschlus.de>
Tested-by: Marc Haber <mh+netdev@zugschlus.de>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nf_flow_table_ip.c')
0 files changed, 0 insertions, 0 deletions