diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/netfilter/nf_conntrack_core.h | 4 | ||||
-rw-r--r-- | include/net/netfilter/nf_conntrack_tuple.h | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/include/net/netfilter/nf_conntrack_core.h b/include/net/netfilter/nf_conntrack_core.h index 3bf7d05ea64d..6351948654b3 100644 --- a/include/net/netfilter/nf_conntrack_core.h +++ b/include/net/netfilter/nf_conntrack_core.h | |||
@@ -84,9 +84,9 @@ print_tuple(struct seq_file *s, const struct nf_conntrack_tuple *tuple, | |||
84 | struct nf_conntrack_l3proto *l3proto, | 84 | struct nf_conntrack_l3proto *l3proto, |
85 | struct nf_conntrack_l4proto *proto); | 85 | struct nf_conntrack_l4proto *proto); |
86 | 86 | ||
87 | extern struct list_head *nf_conntrack_hash; | 87 | extern struct hlist_head *nf_conntrack_hash; |
88 | extern struct list_head nf_conntrack_expect_list; | 88 | extern struct list_head nf_conntrack_expect_list; |
89 | extern rwlock_t nf_conntrack_lock ; | 89 | extern rwlock_t nf_conntrack_lock ; |
90 | extern struct list_head unconfirmed; | 90 | extern struct hlist_head unconfirmed; |
91 | 91 | ||
92 | #endif /* _NF_CONNTRACK_CORE_H */ | 92 | #endif /* _NF_CONNTRACK_CORE_H */ |
diff --git a/include/net/netfilter/nf_conntrack_tuple.h b/include/net/netfilter/nf_conntrack_tuple.h index 5d72b16e876f..d02ce876b4ca 100644 --- a/include/net/netfilter/nf_conntrack_tuple.h +++ b/include/net/netfilter/nf_conntrack_tuple.h | |||
@@ -125,8 +125,7 @@ DEBUGP("tuple %p: %u %u " NIP6_FMT " %hu -> " NIP6_FMT " %hu\n", \ | |||
125 | /* Connections have two entries in the hash table: one for each way */ | 125 | /* Connections have two entries in the hash table: one for each way */ |
126 | struct nf_conntrack_tuple_hash | 126 | struct nf_conntrack_tuple_hash |
127 | { | 127 | { |
128 | struct list_head list; | 128 | struct hlist_node hnode; |
129 | |||
130 | struct nf_conntrack_tuple tuple; | 129 | struct nf_conntrack_tuple tuple; |
131 | }; | 130 | }; |
132 | 131 | ||