kernel-fxtec-pro1x/drivers/staging
Christophe JAILLET ecb76221e5 staging: rtl8192u: Do not use GFP_KERNEL in atomic context
[ Upstream commit acac75bb451fd39344eb54fad6602dfc9482e970 ]

'rtl8192_irq_rx_tasklet()' is a tasklet initialized in
'rtl8192_init_priv_task()'.
>From this function it is possible to allocate some memory with the
GFP_KERNEL flag, which is not allowed in the atomic context of a tasklet.

Use GFP_ATOMIC instead.

The call chain is:
  rtl8192_irq_rx_tasklet            (in r8192U_core.c)
    --> rtl8192_rx_nomal            (in r8192U_core.c)
      --> ieee80211_rx              (in ieee80211/ieee80211_rx.c)
        --> RxReorderIndicatePacket (in ieee80211/ieee80211_rx.c)

Fixes: 79a5ccd972 ("staging: rtl8192u: fix large frame size compiler warning")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/20200813173458.758284-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-29 09:55:07 +01:00
..
android
axis-fifo
board
clocking-wizard
comedi staging: comedi: check validity of wMaxPacketSize of usb endpoints found 2020-10-17 10:12:57 +02:00
dgnc
emxx_udc
erofs
fbtft
fsl-dpaa2
fwserial
gasket
gdm724x
goldfish
greybus
gs_fpgaboot
iio
ks7010
media media: staging/imx: Missing assignment in imx_media_capture_device_register() 2020-10-01 13:14:34 +02:00
most
mt29f_spinand
mt7621-dma
mt7621-dts
mt7621-eth
mt7621-mmc
mt7621-pci
mt7621-pinctrl
mt7621-spi
netlogic
nvec
octeon
octeon-usb
olpc_dcon
pi433
rtl8188eu staging:r8188eu: avoid skb_clone for amsdu to msdu conversion 2020-10-01 13:14:43 +02:00
rtl8192e
rtl8192u staging: rtl8192u: Do not use GFP_KERNEL in atomic context 2020-10-29 09:55:07 +01:00
rtl8712
rtl8723bs
rtlwifi
rts5208
sm750fb
speakup
unisys
vboxvideo
vc04_services
vme
vt6655
vt6656
wilc1000
wlan-ng
xgifb
Kconfig
Makefile