]> 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)
commit3b1cc79731dbdee6acf4fb8622675c98c9f7592b
treea77bf69802b68acdf8dc52c11e896008096e8b90
parenta584807099f8c2f7608d47d7b65d5009482943fe
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