netns xfrm: KM reporting in netns
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
7067802e26
commit
db983c1144
@@ -2520,10 +2520,9 @@ nla_put_failure:
|
||||
return -EMSGSIZE;
|
||||
}
|
||||
|
||||
static int xfrm_send_report(u8 proto, struct xfrm_selector *sel,
|
||||
xfrm_address_t *addr)
|
||||
static int xfrm_send_report(struct net *net, u8 proto,
|
||||
struct xfrm_selector *sel, xfrm_address_t *addr)
|
||||
{
|
||||
struct net *net = &init_net;
|
||||
struct sk_buff *skb;
|
||||
|
||||
skb = nlmsg_new(xfrm_report_msgsize(), GFP_ATOMIC);
|
||||
|
Reference in New Issue
Block a user