]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: fix cable re-plugging issue
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 22 Mar 2019 06:39:35 +0000 (07:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Mar 2019 01:26:43 +0000 (21:26 -0400)
commit3acd97df75d5859b667732a084feca6d28ab33d0
tree83d80b644d5526947eb0dd56f597276f3f52fc0d
parentc8290212027fb595250e4e94be3182bdbd3815c3
r8169: fix cable re-plugging issue

Bartek reported that after few cable unplug/replug cycles suddenly
replug isn't detected any longer. His system uses a RTL8106, I wasn't
able to reproduce the issue with RTL8168g. According to his bisect
the referenced commit caused the regression. As Realtek doesn't
release datasheets or errata it's hard to say what's the actual root
cause, but this change was reported to fix the issue.

Fixes: 489f5b928ac4 ("r8169: handle all interrupt events in the hard irq handler")
Reported-by: Bartosz Skrzypczak <barteks2x@gmail.com>
Suggested-by: Bartosz Skrzypczak <barteks2x@gmail.com>
Tested-by: Bartosz Skrzypczak <barteks2x@gmail.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c