[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100728095825.GC13413@jupiter.n2.diac24.net>
Date: Wed, 28 Jul 2010 11:58:25 +0200
From: David Lamparter <equinox@...c24.net>
To: netdev@...r.kernel.org
Cc: Stephen Hemminger <shemminger@...ux-foundation.org>,
bridge@...ts.linux-foundation.org
Subject: [BUG] bridge leaks 3 references on lo per up&down
On Wed, Jul 28, 2010 at 09:44:28AM +0200, David Lamparter wrote:
> On Tue, Jul 27, 2010 at 10:02:49AM -0700, Stephen Hemminger wrote:
> > David Lamparter <equinox@...c24.net> wrote:
> > > unregister_netdevice: waiting for lo to become free. Usage count = 4
> > >
> > > unshare -n -- /bin/bash -c 'ip link add link lo veth0 type veth peer
> > > name veth3 netns 1; brctl addbr br0; ip l s br0 up; ip a l; sleep 8'
When I do
unshare -n -- /bin/bash -c 'ip link add link lo veth0 type veth peer
name veth3 netns 1; brctl addbr br0; \
ip l s br0 up; sleep 8; ip l s br0 down; sleep 1;
ip l s br0 up; sleep 8;'
I get "usage count = 7" on lo; when I add another up & down, I get
"usage count = 10". 4 times makes it a merry 13 refs...
-David
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists