aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorYasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>2007-07-08 01:25:51 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-11 01:17:35 -0400
commitdacd2a1a5cf621288833aa3c6e815b86a1536538 (patch)
treec615b95aa1518c6518df35acd481ed4af19acd61 /net/ipv4
parentff09b7493c8f433d3ffd6a31ad58d190f82ef0c5 (diff)
[NETFILTER]: nf_conntrack: remove old memory allocator of conntrack
Now memory space for help and NAT are allocated by extension infrastructure. 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>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c b/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
index 7411dd16d779..129a8cccf4a1 100644
--- a/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
+++ b/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
@@ -103,11 +103,6 @@ ipv4_prepare(struct sk_buff **pskb, unsigned int hooknum, unsigned int *dataoff,
103 return NF_ACCEPT; 103 return NF_ACCEPT;
104} 104}
105 105
106static u_int32_t ipv4_get_features(const struct nf_conntrack_tuple *tuple)
107{
108 return NF_CT_F_BASIC;
109}
110
111static unsigned int ipv4_confirm(unsigned int hooknum, 106static unsigned int ipv4_confirm(unsigned int hooknum,
112 struct sk_buff **pskb, 107 struct sk_buff **pskb,
113 const struct net_device *in, 108 const struct net_device *in,
@@ -419,7 +414,6 @@ struct nf_conntrack_l3proto nf_conntrack_l3proto_ipv4 = {
419 .print_tuple = ipv4_print_tuple, 414 .print_tuple = ipv4_print_tuple,
420 .print_conntrack = ipv4_print_conntrack, 415 .print_conntrack = ipv4_print_conntrack,
421 .prepare = ipv4_prepare, 416 .prepare = ipv4_prepare,
422 .get_features = ipv4_get_features,
423#if defined(CONFIG_NF_CT_NETLINK) || defined(CONFIG_NF_CT_NETLINK_MODULE) 417#if defined(CONFIG_NF_CT_NETLINK) || defined(CONFIG_NF_CT_NETLINK_MODULE)
424 .tuple_to_nfattr = ipv4_tuple_to_nfattr, 418 .tuple_to_nfattr = ipv4_tuple_to_nfattr,
425 .nfattr_to_tuple = ipv4_nfattr_to_tuple, 419 .nfattr_to_tuple = ipv4_nfattr_to_tuple,