netfilter: nf_flow_table: ignore DF bit setting
authorFlorian Westphal <fw@strlen.de>
Tue, 21 May 2019 11:24:30 +0000 (13:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Jul 2019 07:53:30 +0000 (09:53 +0200)
commit3b2734bc839d188e44934f5f2f4fe9a487bdaa47
tree326c86b28f78a87b81115c377eb1bc72480bf4ab
parent869eec894663f6ef48859e4f86bd7e62daf2345a
netfilter: nf_flow_table: ignore DF bit setting

commit e75b3e1c9bc5b997d09bdf8eb72ab3dd3c1a7072 upstream.

Its irrelevant if the DF bit is set or not, we must pass packet to
stack in either case.

If the DF bit is set, we must pass it to stack so the appropriate
ICMP error can be generated.

If the DF is not set, we must pass it to stack for fragmentation.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/netfilter/nf_flow_table_ip.c