aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_user.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-11-25 20:51:01 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-25 20:51:01 -0500
commitdb983c1144884cab10d6397532f4bf05eb0c01d2 (patch)
treeebb86abdaeb916191424407881d52635019502cf /net/xfrm/xfrm_user.c
parent7067802e262457a9737521e5669b622028b2283a (diff)
netns xfrm: KM reporting 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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c
index 3e32ec2ea1ad..b7240d5b77ad 100644
--- a/net/xfrm/xfrm_user.c
+++ b/net/xfrm/xfrm_user.c
@@ -2520,10 +2520,9 @@ nla_put_failure:
2520 return -EMSGSIZE; 2520 return -EMSGSIZE;
2521} 2521}
2522 2522
2523static int xfrm_send_report(u8 proto, struct xfrm_selector *sel, 2523static int xfrm_send_report(struct net *net, u8 proto,
2524 xfrm_address_t *addr) 2524 struct xfrm_selector *sel, xfrm_address_t *addr)
2525{ 2525{
2526 struct net *net = &init_net;
2527 struct sk_buff *skb; 2526 struct sk_buff *skb;
2528 2527
2529 skb = nlmsg_new(xfrm_report_msgsize(), GFP_ATOMIC); 2528 skb = nlmsg_new(xfrm_report_msgsize(), GFP_ATOMIC);