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)
commita37061a678cab6d164f2989dd6f3b65f730289c7
tree2da78e993cb9b64f1479203ae8c7289f3872a8c9
parent9971a514ed2697e542f3984a6162eac54bb1da98
netfilter: lift one-nat-hook-only restriction

This reverts commit f92b40a8b2645
("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