Re: 24rc8: unregister_netdevice: waiting for ... to become free

From: David Miller
Date: Fri May 02 2008 - 08:45:50 EST


From: "Roland" <devzero@xxxxxx>
Date: Fri, 2 May 2008 14:38:36 +0200

> it seems it`s lapbether driver
>
> reproduce:
>
> on system with pcnet32 (vmware) do
>
> modprobe pcnet32
> modprobe lapbether
> modprobe -r lapbether
> modprobe -r pcnet32 -> hang -> unregister_netdevice: waiting for eth0 to
> become free

lapbeth_cleanup_driver() unregisters the netdevice, but does not
release the reference to lapbeth->ethdev in those device instances.

Once this happens, and the lapbeth_dev_notifier is unregistered,
these references will leak forever.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/