Home
last modified time | relevance | path

Searched refs:resp_skb (Results 1 – 2 of 2) sorted by relevance

/net/xfrm/
Dxfrm_user.c1524 struct sk_buff *resp_skb; in xfrm_get_sa() local
1531 resp_skb = xfrm_state_netlink(skb, x, nlh->nlmsg_seq); in xfrm_get_sa()
1532 if (IS_ERR(resp_skb)) { in xfrm_get_sa()
1533 err = PTR_ERR(resp_skb); in xfrm_get_sa()
1535 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_get_sa()
1550 struct sk_buff *resp_skb; in xfrm_alloc_userspi() local
1594 resp_skb = xfrm_state_netlink(skb, x, nlh->nlmsg_seq); in xfrm_alloc_userspi()
1595 if (IS_ERR(resp_skb)) { in xfrm_alloc_userspi()
1596 err = PTR_ERR(resp_skb); in xfrm_alloc_userspi()
1606 kfree_skb(resp_skb); in xfrm_alloc_userspi()
[all …]
/net/key/
Daf_key.c1308 struct sk_buff *resp_skb; in pfkey_getspi() local
1387 resp_skb = err ? ERR_PTR(err) : pfkey_xfrm_state2msg(x); in pfkey_getspi()
1389 if (IS_ERR(resp_skb)) { in pfkey_getspi()
1391 return PTR_ERR(resp_skb); in pfkey_getspi()
1394 out_hdr = (struct sadb_msg *) resp_skb->data; in pfkey_getspi()
1405 pfkey_broadcast(resp_skb, GFP_KERNEL, BROADCAST_ONE, sk, net); in pfkey_getspi()