]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6c49ceb018b9fff0fbaaf00cfb536f0424d6ccc1
treea77bf69802b68acdf8dc52c11e896008096e8b90
parent78b2e856a8d8b6d7a57b940ce60a4d8c25736289
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