From: Alexander Stein Date: Tue, 27 Nov 2012 07:52:34 +0000 (+0100) Subject: can: Do not call dev_put if restart timer is running upon close X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~164^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab48b03ec9ae1840a1e427e2375bd0d9d554b4ed;p=pandora-kernel.git 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 Signed-off-by: Alexander Stein Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed