Veaceslav Falico 3f315bef23 netconsole: don't call __netpoll_cleanup() while atomic
__netpoll_cleanup() is called in netconsole_netdev_event() while holding a
spinlock. Release/acquire the spinlock before/after it and restart the
loop. Also, disable the netconsole completely, because we won't have chance
after the restart of the loop, and might end up in a situation where
nt->enabled == 1 and nt->np.dev == NULL.

Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-03-12 06:58:55 -04:00
..
2013-02-21 13:41:04 -08:00
2013-02-21 13:41:04 -08:00
2013-02-21 13:41:04 -08:00
2013-02-27 19:10:18 -08:00
2012-12-28 15:24:19 -08:00
2013-01-14 15:13:39 -05:00
2013-02-27 19:10:18 -08:00
2013-01-20 15:48:14 -08:00