OSDN Git Service

r8169: don't read interrupt mask register in interrupt handler
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 21 Mar 2019 20:23:14 +0000 (21:23 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Mar 2019 14:27:23 +0000 (10:27 -0400)
commitc8248c6c1a3d5db944753dd8e1c143d92c2c74fc
tree236de04d66135f03926aaa75c25803fd60046427
parent5f543a54eec08228ab0cc0a49cf5d79dd32c9e5e
r8169: don't read interrupt mask register in interrupt handler

After the original patch network starts to crash on heavy load.
It's not fully clear why this additional register read has such side
effects, but removing it fixes the issue.

Thanks also to Alex for his contribution and hints.

[0] https://marc.info/?t=155268170400002&r=1&w=2

Fixes: e782410ed237 ("r8169: improve spurious interrupt detection")
Reported-by: VDR User <user.vdr@gmail.com>
Tested-by: VDR User <user.vdr@gmail.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Alexander Duyck <alexander.h.duyck@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c