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)
commitd9fbd02be5c201c1659ee0d79c0820bb68d95c8c
treeb2f7aa9fa77a90c45e5e5eeda0d47e16ef452c4c
parent0775899158d0e1436316f3bf451d78bf34b88d17
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