]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: xt_hashlimit: remove ip6tables module dependency
authorPatrick McHardy <kaber@trash.net>
Wed, 5 Dec 2007 07:51:48 +0000 (23:51 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:56:04 +0000 (14:56 -0800)
commit9e659e210e568e2bd25254405bf3ba240325deae
treebbd247ed6e98b0a0e59ffd8d5a7ba8bc27402641
parentf7a63c761ca83c9e3f35dc6c4b6b348e5344fcd6
[NETFILTER]: xt_hashlimit: remove ip6tables module dependency

Switch from ipv6_find_hdr to ipv6_skip_exthdr to avoid pulling in ip6_tables
and ipv6 when only using it for IPv4.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/xt_hashlimit.c