diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-11-25 20:32:14 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-25 20:32:14 -0500 |
commit | 284fa7da300adcb700b44df2f64a536b434d4650 (patch) | |
tree | 382f31cff91d68085b03bd4df639fd7ad3c78051 /net/xfrm/xfrm_user.c | |
parent | 5447c5e401c49aba0c36bb1066f2d25b152553b7 (diff) |
netns xfrm: state 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c index 3d577440b673..787b0ee65034 100644 --- a/net/xfrm/xfrm_user.c +++ b/net/xfrm/xfrm_user.c | |||
@@ -631,7 +631,7 @@ static int xfrm_dump_sa(struct sk_buff *skb, struct netlink_callback *cb) | |||
631 | xfrm_state_walk_init(walk, 0); | 631 | xfrm_state_walk_init(walk, 0); |
632 | } | 632 | } |
633 | 633 | ||
634 | (void) xfrm_state_walk(walk, dump_one_state, &info); | 634 | (void) xfrm_state_walk(&init_net, walk, dump_one_state, &info); |
635 | 635 | ||
636 | return skb->len; | 636 | return skb->len; |
637 | } | 637 | } |