aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_user.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-11-25 17:34:49 -0800
committerDavid S. Miller <davem@davemloft.net>2008-11-25 17:34:49 -0800
commitcdcbca7c1f1946758cfacb69bc1c7eeaccb11e2d (patch)
tree1ee0f5edf7fb9e50f7f70c680044be33d41a0d41 /net/xfrm/xfrm_user.c
parent8d1211a6aaea43ea36151c17b0193eb763ff2d7e (diff)
downloadkernel_samsung_aries-cdcbca7c1f1946758cfacb69bc1c7eeaccb11e2d.zip
kernel_samsung_aries-cdcbca7c1f1946758cfacb69bc1c7eeaccb11e2d.tar.gz
kernel_samsung_aries-cdcbca7c1f1946758cfacb69bc1c7eeaccb11e2d.tar.bz2
netns xfrm: policy walking in netns
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_user.c')
-rw-r--r--net/xfrm/xfrm_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c
index efd6ab5..f6e0272 100644
--- a/net/xfrm/xfrm_user.c
+++ b/net/xfrm/xfrm_user.c
@@ -1279,7 +1279,7 @@ static int xfrm_dump_policy(struct sk_buff *skb, struct netlink_callback *cb)
xfrm_policy_walk_init(walk, XFRM_POLICY_TYPE_ANY);
}
- (void) xfrm_policy_walk(walk, dump_one_policy, &info);
+ (void) xfrm_policy_walk(&init_net, walk, dump_one_policy, &info);
return skb->len;
}