]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Use explicit header and body length for L2CAP SKB allocation
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 8 Jun 2014 09:22:28 +0000 (11:22 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:42 +0000 (17:42 +0200)
commit3cec087aca1985d7e78ecacec328dedd0c78fa31
treeb2f7aa9fa77a90c45e5e5eeda0d47e16ef452c4c
parent2417053afd0935e5deb7eaafdf2a9765dc3c74e1
Bluetooth: Use explicit header and body length for L2CAP SKB allocation

When allocating the L2CAP SKB for transmission, provide the upper layers
with a clear distinction on what is the header and what is the body
portion of 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