aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorRadoslaw Biernacki <[email protected]>2022-02-01 20:10:32 +0000
committerMarcel Holtmann <[email protected]>2022-03-04 16:10:49 +0100
commitba17bb62ce415950753c19d16bb43b2bd3701158 (patch)
treec0a044ebf28c3a2ad141c6db786f75a77e4c8ad1 /drivers/fpga/fpga-bridge.c
parenta6fbb2bf51adc117e7d4030e4fd55f0763ab890d (diff)
Bluetooth: Fix skb allocation in mgmt_remote_name() & mgmt_device_connected()
This patch fixes skb allocation, as lack of space for ev might push skb tail beyond its end. Also introduce eir_precalc_len() that can be used instead of magic numbers for similar eir operations on skb. Fixes: cf1bce1de7eeb ("Bluetooth: mgmt: Make use of mgmt_send_event_skb in MGMT_EV_DEVICE_FOUND") Fixes: e96741437ef0a ("Bluetooth: mgmt: Make use of mgmt_send_event_skb in MGMT_EV_DEVICE_CONNECTED") Signed-off-by: Angela Czubak <[email protected]> Signed-off-by: Marek Maslanka <[email protected]> Signed-off-by: Radoslaw Biernacki <[email protected]> Signed-off-by: Luiz Augusto von Dentz <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions