summaryrefslogtreecommitdiffstats
path: root/include/net/netfilter/nf_nat.h
diff options
context:
space:
mode:
authorPatrick McHardy2007-07-08 07:30:27 +0200
committerDavid S. Miller2007-07-11 07:17:43 +0200
commit53aba5979e1d964c0234816eda2316f1c2e7946d (patch)
tree042b0528b82f119d2a452c0e2a448f1d4d04fb14 /include/net/netfilter/nf_nat.h
parent[NETFILTER]: nf_conntrack: export hash allocation/destruction functions (diff)
downloadkernel-qcow2-linux-53aba5979e1d964c0234816eda2316f1c2e7946d.tar.gz
kernel-qcow2-linux-53aba5979e1d964c0234816eda2316f1c2e7946d.tar.xz
kernel-qcow2-linux-53aba5979e1d964c0234816eda2316f1c2e7946d.zip
[NETFILTER]: nf_nat: use hlists for bysource hash
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netfilter/nf_nat.h')
-rw-r--r--include/net/netfilter/nf_nat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netfilter/nf_nat.h b/include/net/netfilter/nf_nat.h
index d0e5e436dc1b..6ae52f7c9f55 100644
--- a/include/net/netfilter/nf_nat.h
+++ b/include/net/netfilter/nf_nat.h
@@ -66,7 +66,7 @@ struct nf_conn;
/* The structure embedded in the conntrack structure. */
struct nf_conn_nat
{
- struct list_head bysource;
+ struct hlist_node bysource;
struct nf_nat_seq seq[IP_CT_DIR_MAX];
struct nf_conn *ct;
union nf_conntrack_nat_help help;