netns xfrm: state walking in netns
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
5447c5e401
commit
284fa7da30
@@ -631,7 +631,7 @@ static int xfrm_dump_sa(struct sk_buff *skb, struct netlink_callback *cb)
|
||||
xfrm_state_walk_init(walk, 0);
|
||||
}
|
||||
|
||||
(void) xfrm_state_walk(walk, dump_one_state, &info);
|
||||
(void) xfrm_state_walk(&init_net, walk, dump_one_state, &info);
|
||||
|
||||
return skb->len;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user