summaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_policy.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-09-09 19:28:03 -0700
committerDavid S. Miller <davem@davemloft.net>2008-09-09 19:28:03 -0700
commit47abf28d5b36521558a848a346064a3a3c82bd9e (patch)
tree736e9402b52f08210b8c4bdda9d214e98a6bf7de /net/xfrm/xfrm_policy.c
parent28faa979746b2352cd78a376bf9f52db953bda46 (diff)
parente550dfb0c2c31b6363aa463a035fc9f8dcaa3c9b (diff)
downloadop-kernel-dev-47abf28d5b36521558a848a346064a3a3c82bd9e.zip
op-kernel-dev-47abf28d5b36521558a848a346064a3a3c82bd9e.tar.gz
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
-rw-r--r--net/xfrm/xfrm_policy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
index 638bb5f..ef9ccbc 100644
--- a/net/xfrm/xfrm_policy.c
+++ b/net/xfrm/xfrm_policy.c
@@ -1077,6 +1077,7 @@ static void __xfrm_policy_link(struct xfrm_policy *pol, int dir)
struct hlist_head *chain = policy_hash_bysel(&pol->selector,
pol->family, dir);
+ list_add_tail(&pol->bytype, &xfrm_policy_bytype[pol->type]);
hlist_add_head(&pol->bydst, chain);
hlist_add_head(&pol->byidx, xfrm_policy_byidx+idx_hash(pol->index));
xfrm_policy_count[dir]++;
OpenPOWER on IntegriCloud