[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>
Showing
- include/net/netfilter/nf_conntrack_compat.h 10 additions, 0 deletionsinclude/net/netfilter/nf_conntrack_compat.h
- net/netfilter/xt_connmark.c 1 addition, 6 deletionsnet/netfilter/xt_connmark.c
- net/netfilter/xt_conntrack.c 2 additions, 6 deletionsnet/netfilter/xt_conntrack.c
- net/netfilter/xt_helper.c 2 additions, 6 deletionsnet/netfilter/xt_helper.c
- net/netfilter/xt_state.c 1 addition, 6 deletionsnet/netfilter/xt_state.c
Loading
Please register or sign in to comment