]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
netfilter: nfnetlink_queue: Solve the NFQUEUE/conntrack clash for NF_REPEAT
authorMichal 'vorner' Vaner <michal.vaner@avast.com>
Tue, 4 Sep 2018 11:25:44 +0000 (13:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Oct 2018 06:56:02 +0000 (08:56 +0200)
commit419033c32a82dad2d093d1ecdd0d3bf83fac2ddb
tree0afdbd073f5cbb95995241ea82147b79f3200bbf
parente63d53f2835dda2f292e1266dcd2a6dabd554957
netfilter: nfnetlink_queue: Solve the NFQUEUE/conntrack clash for NF_REPEAT

[ Upstream commit ad18d7bf68a3da860ebb62a59c449804a6d237b4 ]

NF_REPEAT places the packet at the beginning of the iptables chain
instead of accepting or rejecting it right away. The packet however will
reach the end of the chain and continue to the end of iptables
eventually, so it needs the same handling as NF_ACCEPT and NF_DROP.

Fixes: 368982cd7d1b ("netfilter: nfnetlink_queue: resolve clash for unconfirmed conntracks")
Signed-off-by: Michal 'vorner' Vaner <michal.vaner@avast.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/netfilter/nfnetlink_queue.c