1
0
Fork 0
alistair23-linux/drivers/staging/rtl8192u/ieee80211
Christophe JAILLET 84b79c4853 staging: rtl8192u: Do not use GFP_KERNEL in atomic context
[ Upstream commit acac75bb45 ]

'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:57:36 +01:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dot11d.c staging: rtl8192u: fix spacing in ieee80211 2019-08-21 09:20:23 -07:00
dot11d.h staging:rtl8192u: Rename member pDot11dInfo - Style 2018-09-10 10:38:16 +02:00
ieee80211.h staging: rtl8192u: remove code under TO_DO_LIST 2019-08-25 10:27:39 +02:00
ieee80211_crypt.c staging: rtl8192u: fix spacing in ieee80211 2019-08-21 09:20:23 -07:00
ieee80211_crypt.h staging: rtl8192u: add proper SPDX identifiers on files that did not have them. 2019-04-03 11:10:17 +02:00
ieee80211_crypt_ccmp.c staging: rtl8192u: Fix indentation 2019-08-28 22:22:13 +02:00
ieee80211_crypt_tkip.c staging: rtl8192u: fix spacing in ieee80211 2019-08-21 09:20:23 -07:00
ieee80211_crypt_wep.c staging: rtl8192u: fix spacing in ieee80211 2019-08-21 09:20:23 -07:00
ieee80211_module.c staging: rtl8192u: ieee80211: Remove redundant memset 2019-06-20 14:39:15 +02:00
ieee80211_rx.c staging: rtl8192u: Do not use GFP_KERNEL in atomic context 2020-10-29 09:57:36 +01:00
ieee80211_softmac.c staging: rtl8192u: remove redundant assignment to pointer crypt 2019-08-25 10:24:46 +02:00
ieee80211_softmac_wx.c staging: rtl8192u: fix spacing in ieee80211 2019-08-21 09:20:23 -07:00
ieee80211_tx.c staging: rtl8192u: Fix indentation 2019-08-28 22:22:13 +02:00
ieee80211_wx.c staging: rtl8192u: Fix indentation 2019-08-28 22:22:13 +02:00
rtl819x_BA.h staging:rtl8192u: Remove commented out code and indent - Style 2018-08-27 19:24:31 +02:00
rtl819x_BAProc.c staging: rtl8192u: fix spacing in ieee80211 2019-08-21 09:20:23 -07:00
rtl819x_HT.h staging: rtl8192u: fix spacing in ieee80211 2019-08-21 09:20:23 -07:00
rtl819x_HTProc.c staging: rtl8192u: remove code under TO_DO_LIST 2019-08-25 10:27:39 +02:00
rtl819x_Qos.h staging:rtl8192u: Change clock comment - Style 2018-08-02 09:46:01 +02:00
rtl819x_TS.h staging:rtl8192u: Refactor struct BA_RECORD - Style 2018-08-27 19:24:30 +02:00
rtl819x_TSProc.c staging: rtl8192u: remove code under TO_DO_LIST 2019-08-25 10:27:39 +02:00