linux/drivers/staging
Jérôme Pouiller 26df933d9b staging: wfx: fix possible panic with re-queued frames
When the firmware rejects a frame (because station become asleep or
disconnected), the frame is re-queued in mac80211. However, the
re-queued frame was 8 bytes longer than the original one (the size of
the ICV for the encryption). So, when mac80211 try to send this frame
again, it is a little bigger than expected.
If the frame is re-queued secveral time it end with a skb_over_panic
because the skb buffer is not large enough.

Note it only happens when device acts as an AP and encryption is
enabled.

This patch more or less reverts the commit 049fde1304 ("staging: wfx:
drop useless field from struct wfx_tx_priv").

Fixes: 049fde1304 ("staging: wfx: drop useless field from struct wfx_tx_priv")
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20210208135254.399964-1-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-02-08 15:24:57 +01:00
..
android driver: staging: count ashmem_range into SLAB_RECLAIMBLE 2020-12-28 15:06:06 +01:00
axis-fifo
board Revert "staging: board: Remove macro board_staging" 2021-01-04 15:55:40 +01:00
clocking-wizard
comedi staging: comedi: Switch from strlcpy to strscpy 2021-02-04 17:16:06 +01:00
emxx_udc staging: emxx_udc: Make incorrectly defined global static 2021-02-07 10:15:05 +01:00
fbtft
fieldbus staging: fieldbus: arcx-anybus: constify static structs 2021-02-08 15:22:34 +01:00
fsl-dpaa2 staging: fsl-dpaa2: Switch from strlcpy to strscpy 2021-02-04 17:16:06 +01:00
fwserial staging: fwserial: Fix error handling in fwserial_create 2020-12-28 15:11:52 +01:00
gasket staging: gasket: fix indentation and lines ending with open parenthesis 2021-02-08 15:24:40 +01:00
gdm724x staging: gdm724x: Clarify naming of packet_type<->tty index symbols 2020-10-26 06:53:10 +01:00
greybus staging: greybus: Switch from strlcpy to strscpy 2021-02-04 17:16:06 +01:00
gs_fpgaboot
hikey9xx staging: hikey9xx: hi6421-spmi-pmic: update copyright notes 2021-01-31 13:44:41 +01:00
iio staging: iio: adis16240: add blank line before struct definition 2020-10-26 06:53:09 +01:00
kpc2000 staging: kpc2000: kpc_dma: rename show function per convention 2020-10-27 12:23:59 +01:00
ks7010 staging: ks7010: fix missing destroy_workqueue() on error in ks7010_sdio_probe 2020-11-06 11:02:53 +01:00
media staging: media: atomisp: Fix size_t format specifier in hmm_alloc() debug statemenet 2021-01-25 10:34:50 +01:00
most staging: most: Switch from strlcpy to strscpy 2021-02-04 17:16:06 +01:00
mt7621-dma staging/mt7621-dma: mtk-hsdma.c->hsdma-mt7621.c 2021-01-31 13:39:53 +01:00
mt7621-dts staging: mt7621-dts: remove obsolete switch node 2021-01-26 18:46:35 +01:00
mt7621-pci staging: mt7621-pci: remove 'RALINK_PCI_IMBASEBAR0_ADDR' register 2020-11-26 09:12:18 +01:00
netlogic
nvec staging: nvec: Switch from strlcpy to strscpy 2021-02-04 17:16:06 +01:00
octeon staging: octeon: remove braces from single-line block 2021-02-07 10:05:29 +01:00
octeon-usb
olpc_dcon staging: olpc_dcon: Switch from strlcpy to strscpy 2021-02-04 17:16:06 +01:00
pi433
qlge staging: qlge/qlge_main: Use min_t instead of min 2021-02-06 14:11:21 +01:00
ralink-gdma staging: ralink-gdma: fix kconfig dependency bug for DMA_RALINK 2020-11-06 11:12:49 +01:00
rtl8188eu staging: rtl8188eu: Switch from strlcpy to strscpy 2021-02-04 17:16:06 +01:00
rtl8192e staging: rtl8192e: Switch from strlcpy to strscpy 2021-02-04 17:16:06 +01:00
rtl8192u staging: rtl8192u: Switch from strlcpy to strscpy 2021-02-04 17:16:07 +01:00
rtl8712 staging: rtl8712: Switch from strlcpy to strscpy 2021-02-04 17:16:07 +01:00
rtl8723bs staging: rtl8723bs: remove unused structures 2021-02-06 14:11:21 +01:00
rts5208
sm750fb staging: sm750fb: Switch from strlcpy to strscpy 2021-02-04 17:16:07 +01:00
unisys staging: unisys: visorhba: enhance visorhba to use channel_interrupt 2021-01-07 16:57:50 +01:00
vc04_services staging: bcm2835-audio: Replace unsafe strcpy() with strscpy() 2021-02-06 14:11:21 +01:00
vme
vt6655 staging: vt665x: fix alignment constraints 2021-02-06 14:11:21 +01:00
vt6656 staging: vt665x: fix alignment constraints 2021-02-06 14:11:21 +01:00
wfx staging: wfx: fix possible panic with re-queued frames 2021-02-08 15:24:57 +01:00
wimax staging: wimax: Switch from strlcpy to strscpy 2021-02-04 17:16:07 +01:00
wlan-ng staging/wlan-ng: Fix line alignment 2020-11-06 10:57:46 +01:00
Kconfig Staging / IIO driver patches for 5.11-rc1 2020-12-15 14:18:40 -08:00
Makefile Staging / IIO driver patches for 5.11-rc1 2020-12-15 14:18:40 -08:00