]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: ipv6: nf_defrag: Kill frag queue on RFC2460 failure
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Wed, 31 Jan 2018 11:50:01 +0000 (04:50 -0700)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 2 Feb 2018 11:45:17 +0000 (12:45 +0100)
commit20a53ec57c5e899ef8190959bcc30e161ea8c5c2
tree677f7f63e66e980fb7da9750fbbbe8c4e5273d91
parent8c620a1f61827c858b15fee6207b8620f121b737
netfilter: ipv6: nf_defrag: Kill frag queue on RFC2460 failure

Failures were seen in ICMPv6 fragmentation timeout tests if they were
run after the RFC2460 failure tests. Kernel was not sending out the
ICMPv6 fragment reassembly time exceeded packet after the fragmentation
reassembly timeout of 1 minute had elapsed.

This happened because the frag queue was not released if an error in
IPv6 fragmentation header was detected by RFC2460.

Fixes: b5735d76912c ("netfilter: ipv6: nf_defrag: Pass on packets to stack per RFC2460")
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv6/netfilter/nf_conntrack_reasm.c