Bluetooth: HCI: Use skb_pull_data to parse LE Ext Advertising Report event
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 1 Dec 2021 18:55:01 +0000 (10:55 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 7 Dec 2021 16:05:50 +0000 (17:05 +0100)
commitb48b833f9e8aa0675820a3b5a0f30d7319590ea8
tree40a2583df6b8fd0ed7a0b8ed1202a9e33a046022
parent47afe93c913a4cd0143667b59ba622086a2acfce
Bluetooth: HCI: Use skb_pull_data to parse LE Ext Advertising Report event

This uses skb_pull_data to check the LE Extended Advertising Report
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