diff options
author | Alexander Stein <alexander.stein@systec-electronic.com> | 2012-11-27 11:52:34 +0400 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-11-29 17:30:08 +0400 |
commit | ab48b03ec9ae1840a1e427e2375bd0d9d554b4ed (patch) | |
tree | ee5ccc5e13c9faf3a8b45a4ed084b22774328f9f /net/wireless | |
parent | 3177bf6f922f62743133abbcbbbb5545f4133b2d (diff) | |
download | linux-ab48b03ec9ae1840a1e427e2375bd0d9d554b4ed.tar.xz |
can: Do not call dev_put if restart timer is running upon close
If the restart timer is running due to BUS-OFF and the device is
disconnected an dev_put will decrease the usage counter to -1 thus
blocking the interface removal, resulting in the following dmesg
lines repeating every 10s:
can: notifier: receive list not found for dev can0
can: notifier: receive list not found for dev can0
can: notifier: receive list not found for dev can0
unregister_netdevice: waiting for can0 to become free. Usage count = -1
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions