diff options
Diffstat (limited to 'net/key')
-rw-r--r-- | net/key/af_key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/key/af_key.c b/net/key/af_key.c index b74d939e2eed..0f44856c1f12 100644 --- a/net/key/af_key.c +++ b/net/key/af_key.c | |||
@@ -2686,7 +2686,7 @@ static int pfkey_spdflush(struct sock *sk, struct sk_buff *skb, struct sadb_msg | |||
2686 | audit_info.loginuid = audit_get_loginuid(current); | 2686 | audit_info.loginuid = audit_get_loginuid(current); |
2687 | audit_info.sessionid = audit_get_sessionid(current); | 2687 | audit_info.sessionid = audit_get_sessionid(current); |
2688 | audit_info.secid = 0; | 2688 | audit_info.secid = 0; |
2689 | err = xfrm_policy_flush(XFRM_POLICY_TYPE_MAIN, &audit_info); | 2689 | err = xfrm_policy_flush(&init_net, XFRM_POLICY_TYPE_MAIN, &audit_info); |
2690 | if (err) | 2690 | if (err) |
2691 | return err; | 2691 | return err; |
2692 | c.data.type = XFRM_POLICY_TYPE_MAIN; | 2692 | c.data.type = XFRM_POLICY_TYPE_MAIN; |