1
0
Fork 0
alistair23-linux/drivers/staging/rtl8192u
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
..
ieee80211 staging: rtl8192u: Do not use GFP_KERNEL in atomic context 2020-10-29 09:57:36 +01:00
Kconfig staging: rtl8192u: ieee80211: ieee80211_crypt_ccmp.c: Use crypto API ccm(aes) 2019-08-18 08:51:11 +02:00
Makefile staging: prefix header search paths with $(srctree)/ 2019-02-04 12:30:27 +01:00
authors
changes
copying
r819xU_cmdpkt.c staging: rtl8192u: Fix misspellings in comments - Style 2018-11-05 14:16:33 +01:00
r819xU_cmdpkt.h
r819xU_firmware.c staging: rtl8192u: Fix indentation 2019-08-28 22:22:13 +02:00
r819xU_firmware.h staging:rtl8192u: Remove typedef from enum opt_rst_type_e - Style 2018-09-10 17:12:16 +02:00
r819xU_firmware_img.c
r819xU_firmware_img.h
r819xU_phy.c staging: rtl8192u: remove code under TO_DO_LIST 2019-08-25 10:27:39 +02:00
r819xU_phy.h
r819xU_phyreg.h staging: rtl8192u: Fix misspellings in comments - Style 2018-11-05 14:16:33 +01:00
r8180_93cx6.c staging: rtl8192u: Add space around binary operators 2019-08-25 10:27:39 +02:00
r8180_93cx6.h staging:rtl8192u: Add required SPDX-License-Identifier - Style 2018-09-10 10:37:54 +02:00
r8190_rtl8256.c staging: rtl8192u: Add or remove blank lines as required 2019-08-27 19:01:26 +02:00
r8190_rtl8256.h staging:rtl8192u: Add SPDX-License-Identifier tag - Style 2018-08-27 19:28:16 +02:00
r8192U.h staging: rtl8192u: rename struct name _rt_firmare_seg_container 2018-11-07 12:35:10 +01:00
r8192U_core.c staging: rtl8192u: fix a dubious looking mask before a shift 2020-08-19 08:16:13 +02:00
r8192U_dm.c drivers/staging/rtl8192u: fix indentation issue, remove extra tab 2019-07-25 09:58:26 +02:00
r8192U_dm.h staging: rtl8192u: Remove function dm_backup_dynamic_mechanism_state() 2019-07-01 09:11:23 +02:00
r8192U_hw.h staging: rtl8192u: add proper SPDX identifiers on files that did not have them. 2019-04-03 11:10:17 +02:00
r8192U_wx.c staging: rtl8192u: add proper SPDX identifiers on files that did not have them. 2019-04-03 11:10:17 +02:00
r8192U_wx.h staging: rtl8192u: add proper SPDX identifiers on files that did not have them. 2019-04-03 11:10:17 +02:00