[Bridge] Problem of lock when deleting a bridge

Stephen Hemminger shemminger at osdl.org
Fri Aug 19 07:35:24 PDT 2005

On Fri, 19 Aug 2005 08:52:21 +0200
Louis Croisez <louis.croisez at gmail.com> wrote:

> When i want to delete my test bridge, using:
> ifconfig eth0 down
> ifconfig eth1 down
> ifconfig br0 down
> brctl delif br0 eth0
> brctl delif br0 eth1
> brctl delbr br0
> i get this error message from the kernel on the console:
> unregister_netdevice: waiting for br0 to become free. Usage count = 2
> The brctl user-level command is blocked.
> Could you explain me what could likely be the cause of this error?

IPV6 is usually the culprit.  All protocols have to keep reference
counts for devices, and there have been several ref count bugs
in ipv6.  If you don't need it build your kernel without it.

Also, which kernel version.  The bug should be fixed in the latest
2.6 kernels.

More information about the Bridge mailing list