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 036315d6b665..e5d595a60921 100644
--- a/net/key/af_key.c
+++ b/net/key/af_key.c
@@ -1732,7 +1732,7 @@ static int pfkey_flush(struct sock *sk, struct sk_buff *skb, struct sadb_msg *hd
1732 audit_info.loginuid = audit_get_loginuid(current); 1732 audit_info.loginuid = audit_get_loginuid(current);
1733 audit_info.sessionid = audit_get_sessionid(current); 1733 audit_info.sessionid = audit_get_sessionid(current);
1734 audit_info.secid = 0; 1734 audit_info.secid = 0;
1735 err = xfrm_state_flush(proto, &audit_info); 1735 err = xfrm_state_flush(&init_net, proto, &audit_info);
1736 if (err) 1736 if (err)
1737 return err; 1737 return err;
1738 c.data.proto = proto; 1738 c.data.proto = proto;