linux-stable/drivers/staging/rtl8192u
Christophe JAILLET acac75bb45 staging: rtl8192u: Do not use GFP_KERNEL in atomic context
'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>
2020-08-18 16:07:17 +02:00
..
ieee80211 staging: rtl8192u: Do not use GFP_KERNEL in atomic context 2020-08-18 16:07:17 +02:00
authors
changes
Kconfig staging: rtl8192u: ieee80211: ieee80211_crypt_ccmp.c: Use crypto API ccm(aes) 2019-08-18 08:51:11 +02:00
Makefile staging: rtl8192u: remove unneeded compiler flags 2020-01-10 13:28:15 +01:00
r819xU_cmdpkt.c staging: rtl8192u: fix indentation issue 2019-11-15 14:11:23 +08:00
r819xU_cmdpkt.h
r819xU_firmware.c staging: rtl8192u: Fix indentation 2019-08-28 22:22:13 +02:00
r819xU_firmware.h
r819xU_firmware_img.c
r819xU_firmware_img.h
r819xU_phy.c staging: rtl8192u: Add space to fix style issue 2020-02-09 16:23:02 -08:00
r819xU_phy.h
r819xU_phyreg.h
r8180_93cx6.c staging: rtl8192u: Add space around binary operators 2019-08-25 10:27:39 +02:00
r8180_93cx6.h
r8190_rtl8256.c staging: rtl8192u: Fix indentation for cleaner code 2019-10-07 12:25:47 +02:00
r8190_rtl8256.h
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-07-17 12:08:44 +02:00
r8192U_dm.c staging: rtl8192u: Using comparison to true is error prone 2020-07-10 13:52:46 +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: r8192U_wx: use netdev_warn() instead of printk() 2020-03-18 11:12:49 +01: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