]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5b5a1c4013e65dc29a767832cede4773d4322982
tree71d48eeefef0ae21719c88ecffffb76166c3b916
parent18f57d6cebfb891e7628ddbffcaa401640f0679b
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