Home
last modified time | relevance | path

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

/net/bluetooth/
D6lowpan.c259 struct sk_buff *local_skb; in recv_pkt() local
282 local_skb = skb_copy_expand(skb, NET_SKB_PAD - 1, in recv_pkt()
284 if (!local_skb) in recv_pkt()
287 local_skb->protocol = htons(ETH_P_IPV6); in recv_pkt()
288 local_skb->pkt_type = PACKET_HOST; in recv_pkt()
289 local_skb->dev = dev; in recv_pkt()
291 skb_set_transport_header(local_skb, sizeof(struct ipv6hdr)); in recv_pkt()
293 if (give_skb_to_upper(local_skb, dev) != NET_RX_SUCCESS) { in recv_pkt()
294 kfree_skb(local_skb); in recv_pkt()
301 consume_skb(local_skb); in recv_pkt()
[all …]