netfilter: combine ipt_REDIRECT and ip6t_REDIRECT
commit2cbc78a29e76a2e92c172651204f3117491877d2
authorJan Engelhardt <jengelh@inai.de>
Fri, 21 Sep 2012 09:41:34 +0000 (21 11:41 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 21 Sep 2012 10:12:05 +0000 (21 12:12 +0200)
treef61c52236d72a68a746fa09def3052d712e7b0d0
parentb3d54b3e406b5d6ac391590bf7524e887e8e13c3
netfilter: combine ipt_REDIRECT and ip6t_REDIRECT

Combine more modules since the actual code is so small anyway that the
kmod metadata and the module in its loaded state totally outweighs the
combined actual code size.

IP_NF_TARGET_REDIRECT becomes a compat option; IP6_NF_TARGET_REDIRECT
is completely eliminated since it has not see a release yet.

Signed-off-by: Jan Engelhardt <jengelh@inai.de>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/Kconfig
net/ipv4/netfilter/Makefile
net/ipv4/netfilter/ipt_REDIRECT.c [deleted file]
net/ipv6/netfilter/Kconfig
net/ipv6/netfilter/Makefile
net/ipv6/netfilter/ip6t_REDIRECT.c [deleted file]
net/netfilter/Kconfig
net/netfilter/Makefile
net/netfilter/xt_REDIRECT.c [new file with mode: 0644]