linux_dsm_epyc7002/drivers/net/wireless
Sara Sharon 2ae48edcf7 iwlwifi: pcie: fix TX while flushing
When flushing TX queues no new TX should go into the system.
However, in the following scenario we get TX:
1. Queues are stopped and there are packets in overflow queue
2. Station is removed and flush begins
3. Flush empties space, and reclaim path TXes SKB from overflow
   queue.

Note that the fact the queues are stopped during the process
doesn't matter - the packet will be TXed since the TX path
doesn't care if TX queues are stopped or not, just if there is
space in the queue, which there is, since we just freed a
packet.

A fix here is rather complicated, since the flow is very racy.

Change code not to warn if we are TXing from overflow TX.
In case there is TX from both overflow TX and TX path we will
miss a warning we optimally had, but we can live with that.

Make sure we don't return before overflow queue is empty, otherwise
we will think queues are empty, but they will be refilled, resulting
with assert.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Fixes: 3955525d5d ("iwlwifi: pcie: buffer packets to avoid overflowing Tx queues")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2019-02-14 11:29:46 +02:00
..
admtek net/wireless: fix spaces and grammar copy/paste in vendor Kconfig help text 2018-03-13 18:52:25 +02:00
ath Merge git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git 2019-02-08 14:14:35 +02:00
atmel atmel: Replace mdelay() with msleep() in probe_atmel_card() 2018-07-31 10:25:33 +03:00
broadcom brcmfmac: support monitor frames with the hardware/ucode header 2019-02-08 17:27:26 +02:00
cisco Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2018-12-27 13:53:32 -08:00
intel iwlwifi: pcie: fix TX while flushing 2019-02-14 11:29:46 +02:00
intersil Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2018-12-27 13:53:32 -08:00
marvell mwifiex: don't print error message on coex event 2019-02-08 17:28:06 +02:00
mediatek Merge git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git 2019-02-08 14:14:35 +02:00
quantenna qtnfmac: enable WPA3 SAE support 2019-02-08 17:30:24 +02:00
ralink wireless-drivers-next patches for 5.1 2019-02-06 09:36:36 -08:00
realtek rtlwifi: remove set but not used variable 'cmd_seq' 2019-02-08 17:28:39 +02:00
rsi rsi: fix indentation issue with a code block 2019-02-08 17:31:23 +02:00
st cw1200: no need to check return value of debugfs_create functions 2019-02-01 14:34:56 +02:00
ti Merge git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git 2019-02-08 14:14:35 +02:00
zydas zd1201: mark expected switch fall-through 2018-11-06 19:00:12 +02:00
Kconfig mac80211-next: rtnetlink wifi simulation device 2018-12-05 15:31:31 +01:00
mac80211_hwsim.c mac80211_hwsim: check that n_limits makes sense 2019-01-19 09:10:30 +01:00
mac80211_hwsim.h mac80211_hwsim: allow configurable cipher types 2018-11-09 11:36:15 +01:00
Makefile mac80211-next: rtnetlink wifi simulation device 2018-12-05 15:31:31 +01:00
ray_cs.c wireless: remove unneeded semicolon 2019-02-01 14:25:41 +02:00
ray_cs.h
rayctl.h
rndis_wlan.c wireless-drivers: use BIT_ULL for NL80211_STA_INFO_ attribute types 2018-06-27 19:07:39 +03:00
virt_wifi.c Merge remote-tracking branch 'net-next/master' into mac80211-next 2019-02-01 11:05:35 +01:00
wl3501_cs.c
wl3501.h