Home
last modified time | relevance | path

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

/net/nfc/
Dllcp_core.c779 struct sk_buff *copy_skb = NULL; in nfc_llcp_tx_work() local
795 copy_skb = skb_copy(skb, GFP_ATOMIC); in nfc_llcp_tx_work()
806 kfree_skb(copy_skb); in nfc_llcp_tx_work()
810 if (ptype == LLCP_PDU_I && copy_skb) in nfc_llcp_tx_work()
812 copy_skb); in nfc_llcp_tx_work()
/net/packet/
Daf_packet.c2215 struct sk_buff *copy_skb = NULL; in tpacket_rcv() local
2291 copy_skb = skb_clone(skb, GFP_ATOMIC); in tpacket_rcv()
2293 copy_skb = skb_get(skb); in tpacket_rcv()
2296 if (copy_skb) { in tpacket_rcv()
2297 memset(&PACKET_SKB_CB(copy_skb)->sa.ll, 0, in tpacket_rcv()
2298 sizeof(PACKET_SKB_CB(copy_skb)->sa.ll)); in tpacket_rcv()
2299 skb_set_owner_r(copy_skb, sk); in tpacket_rcv()
2357 if (copy_skb) { in tpacket_rcv()
2359 __skb_queue_tail(&sk->sk_receive_queue, copy_skb); in tpacket_rcv()
2475 kfree_skb(copy_skb); in tpacket_rcv()