]> www.infradead.org Git - users/dwmw2/linux.git/commit
Bluetooth: HCI: Use skb_pull_data to parse Number of Complete Packets event
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 1 Dec 2021 18:54:55 +0000 (10:54 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 7 Dec 2021 16:05:50 +0000 (17:05 +0100)
commitaadc3d2f42a5bfcec597bfd0d997e3982f740846
tree3aff209f2016eaa53e6d892f4ef4d1fb9b79b17f
parente3f3a1aea8719ac76bb9443bc3abc975250e1f98
Bluetooth: HCI: Use skb_pull_data to parse Number of Complete Packets event

This uses skb_pull_data to check the Number of Complete Packets events
received have the minimum required length.

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