summaryrefslogtreecommitdiffstats
path: root/net/netfilter/xt_length.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2019-05-20 13:48:10 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-05-21 20:20:40 +0200
commit6bac76db1da3cb162c425d58ae421486f8e43955 (patch)
tree110be51688911771d46771b72af8d4c96e1e1dbd /net/netfilter/xt_length.c
parent82ce6eb1dd13fd12e449b2ee2c2ec051e6f52c43 (diff)
downloadlinux-6bac76db1da3cb162c425d58ae421486f8e43955.tar.bz2
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/xt_length.c')
0 files changed, 0 insertions, 0 deletions