diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-11-25 20:30:18 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-25 20:30:18 -0500 |
commit | 0e6024519b4da2d9413b97be1de8122d5709ccc1 (patch) | |
tree | 169bb5b6b763dbb63ccb23decd36441daa8398ca /net/key/af_key.c | |
parent | 98806f75ba2afc716e4d2f915d3ac7687546f9c0 (diff) |
netns xfrm: state flush in netns
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/key/af_key.c')
-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 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; |