Ethernet Bridge development
 help / color / mirror / Atom feed
From: David Lamparter <equinox@diac24.net>
To: netdev@vger.kernel.org
Cc: bridge@lists.linux-foundation.org
Subject: [Bridge] [BUG] bridge leaks 3 references on lo per up&down
Date: Wed, 28 Jul 2010 11:58:25 +0200	[thread overview]
Message-ID: <20100728095825.GC13413@jupiter.n2.diac24.net> (raw)
In-Reply-To: <20100728074428.GB13413@jupiter.n2.diac24.net>

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@diac24.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


       reply	other threads:[~2010-07-28  9:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20100727152514.GA13413@jupiter.n2.diac24.net>
     [not found] ` <20100727100249.51ffc893@nehalam>
     [not found]   ` <20100728074428.GB13413@jupiter.n2.diac24.net>
2010-07-28  9:58     ` David Lamparter [this message]
2010-07-28 12:03       ` [Bridge] [BUG] bridge leaks 3 references on lo per up&down David Lamparter
2010-07-29 11:12         ` Herbert Xu
2010-07-31  6:37           ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100728095825.GC13413@jupiter.n2.diac24.net \
    --to=equinox@diac24.net \
    --cc=bridge@lists.linux-foundation.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox