]> git.baikalelectronics.ru Git - kernel.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)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 10 Sep 2018 23:31:47 +0000 (01:31 +0200)
commitfad1fd3203667ddd7683d3062f0c3524704b82de
treea8a3030326651c8b1fbd17a78d0f777247437eb7
parent552364065e9a19a263b91dbfc2eddc16a8cc0f00
netfilter: nfnetlink_queue: Solve the NFQUEUE/conntrack clash for NF_REPEAT

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: 05e8b9561f99 ("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>
net/netfilter/nfnetlink_queue.c