diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-11-26 02:30:18 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-26 02:30:18 +0100 |
commit | 0e6024519b4da2d9413b97be1de8122d5709ccc1 (patch) | |
tree | 169bb5b6b763dbb63ccb23decd36441daa8398ca /net/xfrm/xfrm_user.c | |
parent | netns xfrm: trivial netns propagations (diff) | |
download | linux-0e6024519b4da2d9413b97be1de8122d5709ccc1.tar.xz linux-0e6024519b4da2d9413b97be1de8122d5709ccc1.zip |
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; |