mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
netns xfrm: state flush in netns
Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
98806f75ba
commit
0e6024519b
4 changed files with 12 additions and 12 deletions
|
|
@ -1732,7 +1732,7 @@ static int pfkey_flush(struct sock *sk, struct sk_buff *skb, struct sadb_msg *hd
|
|||
audit_info.loginuid = audit_get_loginuid(current);
|
||||
audit_info.sessionid = audit_get_sessionid(current);
|
||||
audit_info.secid = 0;
|
||||
err = xfrm_state_flush(proto, &audit_info);
|
||||
err = xfrm_state_flush(&init_net, proto, &audit_info);
|
||||
if (err)
|
||||
return err;
|
||||
c.data.proto = proto;
|
||||
|
|
|
|||
Loading…
Reference in a new issue