aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-07-08 01:36:46 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-11 01:18:13 -0400
commitb8a7fe6c10511fce10b20efa163123f4041f2550 (patch)
treea2e864f2dee638a08a02801320dc3700b4ed9cad /include/net
parentf264a7df08d50bb4a23be6a9aa06940e497ac1c4 (diff)
[NETFILTER]: nf_conntrack_helper: use hashtable for conntrack helpers
Eliminate the last global list searched for every new connection. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/netfilter/nf_conntrack_helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/netfilter/nf_conntrack_helper.h b/include/net/netfilter/nf_conntrack_helper.h
index 2c0e2e0fb7ff..d04f99964d94 100644
--- a/include/net/netfilter/nf_conntrack_helper.h
+++ b/include/net/netfilter/nf_conntrack_helper.h
@@ -15,8 +15,8 @@
15struct module; 15struct module;
16 16
17struct nf_conntrack_helper 17struct nf_conntrack_helper
18{ 18{
19 struct list_head list; /* Internal use. */ 19 struct hlist_node hnode; /* Internal use. */
20 20
21 const char *name; /* name of the module */ 21 const char *name; /* name of the module */
22 struct module *me; /* pointer to self */ 22 struct module *me; /* pointer to self */