]> 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)
commit041b5ac44b7d19f982fc05fa503314ac56c47627
tree71d48eeefef0ae21719c88ecffffb76166c3b916
parent64851a2d34ec34aa3024cbb9a6fa90fb8b74fde5
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