linux_dsm_epyc7002/drivers/net/ethernet/amd
Sebastian Andrzej Siewior d518691cbd amd-xgbe: Use __napi_schedule() in BH context
The driver uses __napi_schedule_irqoff() which is fine as long as it is
invoked with disabled interrupts by everybody. Since the commit
mentioned below the driver may invoke xgbe_isr_task() in tasklet/softirq
context. This may lead to list corruption if another driver uses
__napi_schedule_irqoff() in IRQ context.

Use __napi_schedule() which safe to use from IRQ and softirq context.

Fixes: 85b85c8534 ("amd-xgbe: Re-issue interrupt if interrupt status not cleared")
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-04-16 13:59:53 -07:00
..
xgbe amd-xgbe: Use __napi_schedule() in BH context 2020-04-16 13:59:53 -07:00
7990.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
7990.h netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
a2065.c net: amd: a2065: Use print_hex_dump_debug() helper 2020-01-12 16:20:26 -08:00
a2065.h
am79c961a.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
am79c961a.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
amd8111e.c net/amd: Remove useless driver version 2020-02-24 11:24:47 -08:00
amd8111e.h
ariadne.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
ariadne.h
atarilance.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
au1000_eth.c net/amd: Remove useless driver version 2020-02-24 11:24:47 -08:00
au1000_eth.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 400 2019-06-05 17:37:13 +02:00
declance.c drivers: net: declance: fix comparing pointer to 0 2020-01-21 12:04:57 +01:00
hplance.c
hplance.h
Kconfig net: amd: Spelling s/case/cause/ 2019-08-01 13:45:48 -04:00
lance.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
Makefile
mvme147.c
ni65.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
ni65.h
nmclan_cs.c net/amd: Remove useless driver version 2020-02-24 11:24:47 -08:00
pcnet32.c net/amd: Remove useless driver version 2020-02-24 11:24:47 -08:00
sun3lance.c
sunlance.c net/amd: Remove useless driver version 2020-02-24 11:24:47 -08:00