Lines Matching refs:skb
1213 if (__sock_queue_rcv_skb(sk, rx_busy->skb) < 0)
1482 static int l2cap_sock_recv_cb(struct l2cap_chan *chan, struct sk_buff *skb)
1502 err = sk_filter(sk, skb);
1507 err = __sock_queue_rcv_skb(sk, skb);
1511 /* For ERTM and LE, handle a skb that doesn't fit into the recv
1513 * have already been acked, so the skb cannot be discarded.
1530 rx_busy->skb = skb;
1622 struct sk_buff *skb;
1626 skb = bt_skb_send_alloc(sk, hdr_len + len, nb, &err);
1629 if (!skb)
1632 /* Channel lock is released before requesting new skb and then
1636 kfree_skb(skb);
1640 skb->priority = READ_ONCE(sk->sk_priority);
1642 bt_cb(skb)->l2cap.chan = chan;
1644 return skb;
1724 static int l2cap_sock_filter(struct l2cap_chan *chan, struct sk_buff *skb)
1731 return sk_filter(sk, skb);
1767 kfree_skb(rx_busy->skb);
1776 static void l2cap_skb_msg_name(struct sk_buff *skb, void *msg_name,
1783 la->l2_psm = bt_cb(skb)->l2cap.psm;
1784 bacpy(&la->l2_bdaddr, &bt_cb(skb)->l2cap.bdaddr);