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

This uses skb_pull_data to check the LE Direct 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