linux/drivers/net/wireless/marvell
Pin-yen Lin aef7a03000 wifi: mwifiex: Fix oob check condition in mwifiex_process_rx_packet
Only skip the code path trying to access the rfc1042 headers when the
buffer is too small, so the driver can still process packets without
rfc1042 headers.

Fixes: 1195852816 ("wifi: mwifiex: Fix OOB and integer underflow when rx packets")
Signed-off-by: Pin-yen Lin <treapking@chromium.org>
Acked-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Matthew Wang <matthewmwang@chromium.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230908104308.1546501-1-treapking@chromium.org
History 2023-09-18 16:19:25 +03:00
..
libertas wifi: libertas: prefer kstrtoX() for simple integer conversions 2023-08-01 17:49:02 +03:00
libertas_tf wifi: libertas_tf: don't call kfree_skb() under spin_lock_irqsave() 2022-12-22 18:12:37 +02:00
mwifiex wifi: mwifiex: Fix oob check condition in mwifiex_process_rx_packet 2023-09-18 16:19:25 +03:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mwl8k.c wifi: mac80211: add wake_tx_queue callback to drivers 2022-10-10 11:00:03 +02:00