summaryrefslogtreecommitdiffstats
path: root/kernel/locking/percpu-rwsem.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2020-04-16 17:57:40 +0200
committerDavid S. Miller <davem@davemloft.net>2020-04-16 13:59:53 -0700
commitd518691cbd3be3dae218e05cca3f3fc9b2f1aa77 (patch)
tree97e88b1b17c159abe09af0c41323ea8c9285332e /kernel/locking/percpu-rwsem.c
parent05eab4f328bb127de37c1d619013c340cc5aaf39 (diff)
downloadlinux-stable-d518691cbd3be3dae218e05cca3f3fc9b2f1aa77.tar.gz
linux-stable-d518691cbd3be3dae218e05cca3f3fc9b2f1aa77.tar.bz2
linux-stable-d518691cbd3be3dae218e05cca3f3fc9b2f1aa77.zip
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: 85b85c853401d ("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>
Diffstat (limited to 'kernel/locking/percpu-rwsem.c')
0 files changed, 0 insertions, 0 deletions