Skip to content

Commit ece94a7

Browse files
Ingo Molnargregkh
authored andcommitted
8139too: Use disable_irq_nosync() in rtl8139_poll_controller()
[ Upstream commit af3e0fc ] Use disable_irq_nosync() instead of disable_irq() as this might be called in atomic context with netpoll. Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: David S. Miller <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 3f07ecb commit ece94a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/realtek/8139too.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2224,7 +2224,7 @@ static void rtl8139_poll_controller(struct net_device *dev)
22242224
struct rtl8139_private *tp = netdev_priv(dev);
22252225
const int irq = tp->pci_dev->irq;
22262226

2227-
disable_irq(irq);
2227+
disable_irq_nosync(irq);
22282228
rtl8139_interrupt(irq, dev);
22292229
enable_irq(irq);
22302230
}

0 commit comments

Comments
 (0)