All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bridge] Problem of lock when deleting a bridge
@ 2005-08-19  6:52 Louis Croisez
  2005-08-19 14:35 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Louis Croisez @ 2005-08-19  6:52 UTC (permalink / raw)
  To: bridge

[-- Attachment #1: Type: text/plain, Size: 440 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 1707 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bridge] Problem of lock when deleting a bridge
  2005-08-19  6:52 [Bridge] Problem of lock when deleting a bridge Louis Croisez
@ 2005-08-19 14:35 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2005-08-19 14:35 UTC (permalink / raw)
  To: Louis Croisez; +Cc: bridge

On Fri, 19 Aug 2005 08:52:21 +0200
Louis Croisez <louis.croisez@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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-19 14:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-19  6:52 [Bridge] Problem of lock when deleting a bridge Louis Croisez
2005-08-19 14:35 ` Stephen Hemminger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.