netfilter: nft_reject: split up reject module into IPv4 and IPv6 specifc parts
authorPatrick McHardy <kaber@trash.net>
Wed, 5 Feb 2014 15:03:38 +0000 (15:03 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 6 Feb 2014 08:44:10 +0000 (09:44 +0100)
commitcc4723ca316742891954efa346298e7c747c0d17
tree998eae9bbf8de6eeeb75c633921b8ab2e28cc258
parent64d46806b6218c97f68742c5663a8ae3a5fbe838
netfilter: nft_reject: split up reject module into IPv4 and IPv6 specifc parts

Currently the nft_reject module depends on symbols from ipv6. This is
wrong since no generic module should force IPv6 support to be loaded.
Split up the module into AF-specific and a generic part.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nft_reject.h [new file with mode: 0644]
net/ipv4/netfilter/Kconfig
net/ipv4/netfilter/Makefile
net/ipv4/netfilter/nft_reject_ipv4.c [new file with mode: 0644]
net/ipv6/netfilter/Kconfig
net/ipv6/netfilter/Makefile
net/ipv6/netfilter/nft_reject_ipv6.c [new file with mode: 0644]
net/netfilter/Kconfig
net/netfilter/nft_reject.c