Skip to content

Commit 205cd52

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 <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 872e1ae commit 205cd52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

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

2236-
disable_irq(irq);
2236+
disable_irq_nosync(irq);
22372237
rtl8139_interrupt(irq, dev);
22382238
enable_irq(irq);
22392239
}

0 commit comments

Comments
 (0)