diff options
author | Veaceslav Falico <vfalico@redhat.com> | 2013-03-11 00:21:48 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-12 06:58:55 -0400 |
commit | 3f315bef23075ea8a98a6fe4221a83b83456d970 (patch) | |
tree | 509a607cd96d11444004a03d4a39efa438eed7c7 /arch/arm/net/bpf_jit_32.c | |
parent | 3da889b616164bde76a37350cf28e0d17a94e979 (diff) |
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>
Diffstat (limited to 'arch/arm/net/bpf_jit_32.c')
0 files changed, 0 insertions, 0 deletions