diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-11-26 04:30:18 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-26 04:30:18 +0300 |
commit | 0e6024519b4da2d9413b97be1de8122d5709ccc1 (patch) | |
tree | 169bb5b6b763dbb63ccb23decd36441daa8398ca /net/xfrm/xfrm_user.c | |
parent | 98806f75ba2afc716e4d2f915d3ac7687546f9c0 (diff) | |
download | linux-0e6024519b4da2d9413b97be1de8122d5709ccc1.tar.xz |
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/xfrm/xfrm_user.c')
-rw-r--r-- | net/xfrm/xfrm_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c index 765c01e784e9..49a7e897ba96 100644 --- a/net/xfrm/xfrm_user.c +++ b/net/xfrm/xfrm_user.c @@ -1398,7 +1398,7 @@ static int xfrm_flush_sa(struct sk_buff *skb, struct nlmsghdr *nlh, audit_info.loginuid = NETLINK_CB(skb).loginuid; audit_info.sessionid = NETLINK_CB(skb).sessionid; audit_info.secid = NETLINK_CB(skb).sid; - err = xfrm_state_flush(p->proto, &audit_info); + err = xfrm_state_flush(&init_net, p->proto, &audit_info); if (err) return err; c.data.proto = p->proto; |