Bluetooth: Assign L2CAP socket priority when allocating SKB
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 5 Jun 2014 13:22:51 +0000 (15:22 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:41 +0000 (17:42 +0200)
commit8d46321c4f63f7c2be9e3ba0bb26cb437fc5eded
tree71d48eeefef0ae21719c88ecffffb76166c3b916
parent67f86a45bb82091a2775561a1e498010afff54ee
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>
include/net/bluetooth/l2cap.h
net/bluetooth/a2mp.c
net/bluetooth/l2cap_core.c
net/bluetooth/l2cap_sock.c