diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-08-24 05:45:07 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 18:08:40 -0400 |
commit | 8f126e37c0b250310a48a609bedf92a19a5559ec (patch) | |
tree | c1de0aea5f425d74b99453e9edb4561dfd147d2c /include/net | |
parent | edcd582152090bfb0ccb4ad444c151798a73eda8 (diff) |
[XFRM]: Convert xfrm_state hash linkage to hlists.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/xfrm.h | 6 |
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; | |||
94 | struct xfrm_state | 94 | struct 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; |