Bluetooth: Make use of skb_pull to parse L2CAP signaling PDUs
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 6 Mar 2020 22:51:27 +0000 (14:51 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 8 Mar 2020 07:44:22 +0000 (08:44 +0100)
commit55cee73e2af555fa3dcff467683c7488af47449e
treea77bf69802b68acdf8dc52c11e896008096e8b90
parentdebdedf2eb5a2d9777cabff40900772be13cd9f9
Bluetooth: Make use of skb_pull to parse L2CAP signaling PDUs

This uses skb_pull when parsing signalling PDUs so skb->data for
pointing to the current PDU and skb->len as the remaining bytes to be
processed.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c