[NETFILTER]: x_tables: error if ip_conntrack is asked to handle IPv6 packets
authorYasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Tue, 12 Dec 2006 08:28:40 +0000 (00:28 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 14 Dec 2006 00:48:20 +0000 (16:48 -0800)
commitfe0b9294c9f951a64c768f8a5879154235efe63f
treecf8c5ad0a4fd2d8b8c799ba3feda347ade47e2b8
parent083e69e99e1c728d360c6346456daa4d4c19e25c
[NETFILTER]: x_tables: error if ip_conntrack is asked to handle IPv6 packets

To do that, this makes nf_ct_l3proto_try_module_{get,put} compatible
functions. As a result we can remove '#ifdef' surrounds and direct call of
need_conntrack().

Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netfilter/nf_conntrack_compat.h
net/netfilter/xt_connmark.c
net/netfilter/xt_conntrack.c
net/netfilter/xt_helper.c
net/netfilter/xt_state.c