aboutsummaryrefslogtreecommitdiffstats
path: root/net/key/af_key.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/key/af_key.c')
-rw-r--r--net/key/af_key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/key/af_key.c b/net/key/af_key.c
index 4ef0827009e9..b74d939e2eed 100644
--- a/net/key/af_key.c
+++ b/net/key/af_key.c
@@ -1776,7 +1776,7 @@ static int dump_sa(struct xfrm_state *x, int count, void *ptr)
1776 1776
1777static int pfkey_dump_sa(struct pfkey_sock *pfk) 1777static int pfkey_dump_sa(struct pfkey_sock *pfk)
1778{ 1778{
1779 return xfrm_state_walk(&pfk->dump.u.state, dump_sa, (void *) pfk); 1779 return xfrm_state_walk(&init_net, &pfk->dump.u.state, dump_sa, (void *) pfk);
1780} 1780}
1781 1781
1782static void pfkey_dump_sa_done(struct pfkey_sock *pfk) 1782static void pfkey_dump_sa_done(struct pfkey_sock *pfk)