diff options
author | Veaceslav Falico <vfalico@redhat.com> | 2013-03-11 00:21:48 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-28 12:05:59 -0700 |
commit | 0f4bab2da773a765a4025189bb6fb2ffacccf91a (patch) | |
tree | 4da41bd86a9a420b091f9e65bce1fb95499e9323 /include/net/ip_fib.h | |
parent | c8b46f44552cbf67460fba1c13edcba3339b1c76 (diff) |
netconsole: don't call __netpoll_cleanup() while atomic
[ Upstream commit 3f315bef23075ea8a98a6fe4221a83b83456d970 ]
__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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/ip_fib.h')
0 files changed, 0 insertions, 0 deletions