]> git.samba.org - sfrench/cifs-2.6.git/commit
r8169: fix issue with forced threading in combination with shared interrupts
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 29 Oct 2020 09:18:53 +0000 (10:18 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 29 Oct 2020 18:49:04 +0000 (11:49 -0700)
commit2734a24e6e5d18522fbf599135c59b82ec9b2c9e
tree4242cb57462ed4b69b8a90e336b3063a9e5fc7fc
parenteadd1befdd778a1eca57fad058782bd22b4db804
r8169: fix issue with forced threading in combination with shared interrupts

As reported by Serge flag IRQF_NO_THREAD causes an error if the
interrupt is actually shared and the other driver(s) don't have this
flag set. This situation can occur if a PCI(e) legacy interrupt is
used in combination with forced threading.
There's no good way to deal with this properly, therefore we have to
remove flag IRQF_NO_THREAD. For fixing the original forced threading
issue switch to napi_schedule().

Fixes: 424a646e072a ("r8169: fix operation under forced interrupt threading")
Link: https://www.spinics.net/lists/netdev/msg694960.html
Reported-by: Serge Belyshev <belyshev@depni.sinp.msu.ru>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Tested-by: Serge Belyshev <belyshev@depni.sinp.msu.ru>
Link: https://lore.kernel.org/r/b5b53bfe-35ac-3768-85bf-74d1290cf394@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/realtek/r8169_main.c