Corcodel Marian [off-list ref] :
quoted hunk ↗ jump to hunk
Disable interrupts when close the interface.
Signed-off-by: Corcodel Marian <redacted>
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c
index 6cd7226..ea461fe 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169.c
@@ -7548,6 +7548,7 @@ static int rtl8169_close(struct net_device *dev)
/* Update counters before going down */
rtl8169_update_counters(dev);
+ rtl8169_irq_mask_and_ack(tp);
It's already called through
- rtl8169_close
- rtl8169_down
--
Ueimor