]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_nat_masquerade: unify ipv4/6 notifier registration
authorFlorian Westphal <fw@strlen.de>
Tue, 9 Apr 2019 08:44:08 +0000 (10:44 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 11 Apr 2019 18:59:34 +0000 (20:59 +0200)
commit20942891beea2b49cb7e095d3af60ba60c6015ec
treef2a62ab72875deafb91d2d49316b4d9a8789a329
parent702ae6b931bc43aed256cc10029a4a9c6b42781a
netfilter: nf_nat_masquerade: unify ipv4/6 notifier registration

Only reason for having two different register functions was because of
ipt_MASQUERADE and ip6t_MASQUERADE being two different modules.

Previous patch merged those into xt_MASQUERADE, so we can merge this too.

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