android_kernel_motorola_sm6375/drivers/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Christophe JAILLET dc432c231f mwifiex: Do not use GFP_KERNEL in atomic context
[ Upstream commit d2ab7f00f4321370a8ee14e5630d4349fdacc42e ]

A possible call chain is as follow:
  mwifiex_sdio_interrupt                            (sdio.c)
    --> mwifiex_main_process                        (main.c)
      --> mwifiex_process_cmdresp                   (cmdevt.c)
        --> mwifiex_process_sta_cmdresp             (sta_cmdresp.c)
          --> mwifiex_ret_802_11_scan               (scan.c)
            --> mwifiex_parse_single_response_buf   (scan.c)

'mwifiex_sdio_interrupt()' is an interrupt function.

Also note that 'mwifiex_ret_802_11_scan()' already uses GFP_ATOMIC.

So use GFP_ATOMIC instead of GFP_KERNEL when memory is allocated in
'mwifiex_parse_single_response_buf()'.

Fixes: 7c6fa2a843 ("mwifiex: use cfg80211 dynamic scan table and cfg80211_get_bss API")
or
Fixes: 601216e12c ("mwifiex: process RX packets in SDIO IRQ thread directly")
Signed-off-by: Christophe JAILLET <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sasha Levin <[email protected]>
2020-10-29 09:57:36 +01:00
..
appletalk
arcnet
bonding bonding: set dev->needed_headroom in bond_setup_by_slave() 2020-10-14 10:33:03 +02:00
caif
can can: m_can_platform: don't call m_can_class_suspend in runtime suspend 2020-10-29 09:57:24 +01:00
dsa net: dsa: rtl8366: Properly clear member config 2020-09-26 18:03:12 +02:00
ethernet r8169: fix operation under forced interrupt threading 2020-10-29 09:57:27 +01:00
fddi
fjes
hamradio
hippi hippi: Fix a size used in a 'pci_free_consistent()' in an error handling path 2020-07-29 10:18:31 +02:00
hyperv hv_netvsc: Remove "unlikely" from netvsc_select_queue 2020-09-23 12:40:34 +02:00
ieee802154 ieee802154/adf7242: check status of adf7242_read_reg 2020-10-01 13:18:16 +02:00
ipvlan ipvlan: fix device features 2020-09-03 11:26:41 +02:00
netdevsim netdevsim: fix unbalaced locking in nsim_create() 2020-07-29 10:18:33 +02:00
phy mdio: fix mdio-thunder.c dependency & build error 2020-10-14 10:33:03 +02:00
plip
ppp
slip
team net: team: fix memory leak in __team_options_register 2020-10-14 10:33:02 +02:00
usb net: usb: qmi_wwan: add Cellient MPL200 card 2020-10-29 09:57:23 +01:00
vmxnet3 vmxnet3: use correct tcp hdr length when packet is encapsulated 2020-08-19 08:16:23 +02:00
wan net: hdlc_raw_eth: Clear the IFF_TX_SKB_SHARING flag after calling ether_setup 2020-10-29 09:57:26 +01:00
wimax
wireless mwifiex: Do not use GFP_KERNEL in atomic context 2020-10-29 09:57:36 +01:00
xen-netback
dummy.c
eql.c
geneve.c geneve: add transport ports in route lookup for geneve 2020-09-26 18:03:11 +02:00
gtp.c gtp: add GTPA_LINK info to msg sent to userspace 2020-09-09 19:12:25 +02:00
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c macsec: avoid use-after-free in macsec_handle_frame() 2020-10-14 10:33:00 +02:00
macvlan.c macvlan: validate setting of multiple remote source MAC addresses 2020-09-03 11:27:00 +02:00
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
thunderbolt.c
tun.c
veth.c
virtio_net.c virtio-net: don't disable guest csum when disable LRO 2020-10-14 10:33:04 +02:00
vrf.c
vsockmon.c
vxlan.c Revert "vxlan: fix tos value before xmit" 2020-08-11 15:33:41 +02:00
xen-netfront.c xen-netfront: fix potential deadlock in xennet_remove() 2020-08-05 09:59:51 +02:00