]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: xt_hashlimit: fix ip6tables dependency
authorPatrick McHardy <kaber@trash.net>
Wed, 31 Jan 2007 05:36:09 +0000 (21:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Jan 2007 05:36:09 +0000 (21:36 -0800)
commit2d9da0f311c42a3bd9b951a65f7c99990c25f30c
treeee10fb2df3efb00dcdd8204dee1f86a7caf88651
parent1e426e383a29b0a0db3198a9446fe555d157dba0
[NETFILTER]: xt_hashlimit: fix ip6tables dependency

IP6_NF_IPTABLES=m, CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=y results in a
linker error since ipv6_find_hdr is defined in ip6_tables.c. Fix similar
to Adrian Bunk's H.323 conntrack patch: selecting ip6_tables to be build
as module requires hashlimit to be built as module as well.

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