]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: NFT_CHAIN_NAT_IPV* is independent of NFT_NAT
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 11 Sep 2014 15:42:00 +0000 (17:42 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 12 Sep 2014 07:40:17 +0000 (09:40 +0200)
commit20b57c4a658a1512c52925e154ba17069a38c90f
tree5002fc3d2ad49d2438b681a51205d1b4af209739
parent73db96f3e586e0ff701c145839ca17f2c290ad8c
netfilter: NFT_CHAIN_NAT_IPV* is independent of NFT_NAT

Now that we have masquerading support in nf_tables, the NAT chain can
be use with it, not only for SNAT/DNAT. So make this chain type
independent of it.

While at it, move it inside the scope of 'if NF_NAT_IPV*' to simplify
dependencies.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/Kconfig
net/ipv6/netfilter/Kconfig