summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-08-24 02:45:07 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 15:08:40 -0700
commit8f126e37c0b250310a48a609bedf92a19a5559ec (patch)
treec1de0aea5f425d74b99453e9edb4561dfd147d2c /include/net
parentedcd582152090bfb0ccb4ad444c151798a73eda8 (diff)
downloadblackbird-op-linux-8f126e37c0b250310a48a609bedf92a19a5559ec.tar.gz
blackbird-op-linux-8f126e37c0b250310a48a609bedf92a19a5559ec.zip
[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.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;
struct xfrm_state
{
/* Note: bydst is re-used during gc */
- struct list_head bydst;
- struct list_head bysrc;
- struct list_head byspi;
+ struct hlist_node bydst;
+ struct hlist_node bysrc;
+ struct hlist_node byspi;
atomic_t refcnt;
spinlock_t lock;
OpenPOWER on IntegriCloud