]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: lift one-nat-hook-only restriction
authorFlorian Westphal <fw@strlen.de>
Mon, 14 May 2018 21:46:59 +0000 (23:46 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 23 May 2018 07:14:06 +0000 (09:14 +0200)
commit36042189edd202d915191377a89b5ea2209ef714
tree2da78e993cb9b64f1479203ae8c7289f3872a8c9
parent26070b879a0927dbf02b425b928a90664a620790
netfilter: lift one-nat-hook-only restriction

This reverts commit 3b26e44a50602
("netfilter: core: only allow one nat hook per hook point"), this
limitation is no longer needed.  The nat core now invokes these
functions and makes sure that hook evaluation stops after a mapping is
created and a null binding is created otherwise.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter.h
net/netfilter/core.c
net/netfilter/nf_tables_api.c