Bluetooth: Assign L2CAP socket priority when allocating SKB
The SKB for L2CAP sockets are all allocated in a central callback in the socket support. Instead of having to pass around the socket priority all the time, assign it to skb->priority when actually allocating the SKB. Signed-off-by:Marcel Holtmann <marcel@holtmann.org> Signed-off-by:
Johan Hedberg <johan.hedberg@intel.com>
Showing
- include/net/bluetooth/l2cap.h 1 addition, 2 deletionsinclude/net/bluetooth/l2cap.h
- net/bluetooth/a2mp.c 1 addition, 1 deletionnet/bluetooth/a2mp.c
- net/bluetooth/l2cap_core.c 7 additions, 16 deletionsnet/bluetooth/l2cap_core.c
- net/bluetooth/l2cap_sock.c 3 additions, 1 deletionnet/bluetooth/l2cap_sock.c
Loading
Please register or sign in to comment