summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/i82365.h
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2020-10-18 18:38:59 +0200
committerJakub Kicinski <kuba@kernel.org>2020-10-19 16:55:54 -0700
commit424a646e072a887aa87283b53aa6f8b19c2a7bef (patch)
treea4df824217ecca3a05a0a5eb03b9fd41caf8fbe3 /drivers/pcmcia/i82365.h
parent0e8b8d6a2d85344d80dda5beadd98f5f86e8d3d3 (diff)
downloadlinux-424a646e072a887aa87283b53aa6f8b19c2a7bef.tar.bz2
r8169: fix operation under forced interrupt threading
For several network drivers it was reported that using __napi_schedule_irqoff() is unsafe with forced threading. One way to fix this is switching back to __napi_schedule, but then we lose the benefit of the irqoff version in general. As stated by Eric it doesn't make sense to make the minimal hard irq handlers in drivers using NAPI a thread. Therefore ensure that the hard irq handler is never thread-ified. Fixes: 9a899a35b0d6 ("r8169: switch to napi_schedule_irqoff") Link: https://lkml.org/lkml/2020/10/18/19 Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Link: https://lore.kernel.org/r/4d3ef84a-c812-5072-918a-22a6f6468310@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/pcmcia/i82365.h')
0 files changed, 0 insertions, 0 deletions