aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-08-24 05:45:07 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 18:08:40 -0400
commit8f126e37c0b250310a48a609bedf92a19a5559ec (patch)
treec1de0aea5f425d74b99453e9edb4561dfd147d2c /include
parentedcd582152090bfb0ccb4ad444c151798a73eda8 (diff)
[XFRM]: Convert xfrm_state hash linkage to hlists.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/xfrm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index dd3b84b9c04e..3405e5d9d51c 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -94,9 +94,9 @@ extern struct mutex xfrm_cfg_mutex;
94struct xfrm_state 94struct xfrm_state
95{ 95{
96 /* Note: bydst is re-used during gc */ 96 /* Note: bydst is re-used during gc */
97 struct list_head bydst; 97 struct hlist_node bydst;
98 struct list_head bysrc; 98 struct hlist_node bysrc;
99 struct list_head byspi; 99 struct hlist_node byspi;
100 100
101 atomic_t refcnt; 101 atomic_t refcnt;
102 spinlock_t lock; 102 spinlock_t lock;