]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: xt_addrtype: replace rt6_lookup with nf_afinfo->route
authorFlorian Westphal <fw@strlen.de>
Mon, 4 Apr 2011 15:01:43 +0000 (17:01 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 4 Apr 2011 15:01:43 +0000 (17:01 +0200)
commit322edb05e6a6fa397a80026e4df10dec3915cdce
tree75291a5f780d4032f6076a628aab6266196bb59b
parentb8ecd298c1d65595e0b5a7d7fcadb98b41c9b0e5
netfilter: xt_addrtype: replace rt6_lookup with nf_afinfo->route

This avoids pulling in the ipv6 module when using (ipv4-only) iptables
-m addrtype.

Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/Kconfig
net/netfilter/xt_addrtype.c