diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-06-08 05:22:28 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-07-03 11:42:42 -0400 |
commit | d9fbd02be5c201c1659ee0d79c0820bb68d95c8c (patch) | |
tree | b2f7aa9fa77a90c45e5e5eeda0d47e16ef452c4c /include/net/bluetooth/l2cap.h | |
parent | 0775899158d0e1436316f3bf451d78bf34b88d17 (diff) |
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>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index 18f4f27e0f74..92511034d1d4 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h | |||
@@ -600,6 +600,7 @@ struct l2cap_ops { | |||
600 | void (*set_shutdown) (struct l2cap_chan *chan); | 600 | void (*set_shutdown) (struct l2cap_chan *chan); |
601 | long (*get_sndtimeo) (struct l2cap_chan *chan); | 601 | long (*get_sndtimeo) (struct l2cap_chan *chan); |
602 | struct sk_buff *(*alloc_skb) (struct l2cap_chan *chan, | 602 | struct sk_buff *(*alloc_skb) (struct l2cap_chan *chan, |
603 | unsigned long hdr_len, | ||
603 | unsigned long len, int nb); | 604 | unsigned long len, int nb); |
604 | }; | 605 | }; |
605 | 606 | ||