8139too: Use disable_irq_nosync() in rtl8139_poll_controller()
authorIngo Molnar <mingo@elte.hu>
Wed, 2 May 2018 11:30:57 +0000 (13:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 May 2018 08:20:22 +0000 (10:20 +0200)
commitece94a76618e1df547ea99544fb69de5a5079633
tree233dd30bc01d545ad977f18928e273d65e1d3c54
parent3f07ecbec1518b1638f8227a5e1d0154c3b4826f
8139too: Use disable_irq_nosync() in rtl8139_poll_controller()

[ Upstream commit af3e0fcf78879f718c5f73df0814951bd7057d34 ]

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>
drivers/net/ethernet/realtek/8139too.c