diff options
author | Alexander Stein <alexander.stein@systec-electronic.com> | 2012-11-27 08:52:34 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-11 09:07:18 -0800 |
commit | 4ca05c86fde5ea8fd6b1929cb0e14b7993de9ba1 (patch) | |
tree | aef77458a5bcf79ba78f34b0752ff0dc9f5cef54 /fs/dlm/config.h | |
parent | c0c7cf289528474c46ce4e851ed33c467c32720c (diff) | |
download | linux-3.10-4ca05c86fde5ea8fd6b1929cb0e14b7993de9ba1.tar.gz linux-3.10-4ca05c86fde5ea8fd6b1929cb0e14b7993de9ba1.tar.bz2 linux-3.10-4ca05c86fde5ea8fd6b1929cb0e14b7993de9ba1.zip |
can: Do not call dev_put if restart timer is running upon close
commit ab48b03ec9ae1840a1e427e2375bd0d9d554b4ed upstream.
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
Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/dlm/config.h')
0 files changed, 0 insertions, 0 deletions