Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/bluetooth/
D6lowpan.c288 struct sk_buff *local_skb; in recv_pkt() local
311 local_skb = skb_copy_expand(skb, NET_SKB_PAD - 1, in recv_pkt()
313 if (!local_skb) in recv_pkt()
316 local_skb->protocol = htons(ETH_P_IPV6); in recv_pkt()
317 local_skb->pkt_type = PACKET_HOST; in recv_pkt()
318 local_skb->dev = dev; in recv_pkt()
320 skb_set_transport_header(local_skb, sizeof(struct ipv6hdr)); in recv_pkt()
322 if (give_skb_to_upper(local_skb, dev) != NET_RX_SUCCESS) { in recv_pkt()
323 kfree_skb(local_skb); in recv_pkt()
330 consume_skb(local_skb); in recv_pkt()
[all …]