Problem of lock when deleting a bridge
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?
Thanks in advance,
#Louis.
Quoted 8 lines · On Fri, 19 Aug 2005 08:52:21 +0200 Louis Croisez <[email protected]>…
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
Quoted 5 lines
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.