From: David Lamparter <equinox@diac24.net>
To: netdev@vger.kernel.org
Cc: Herbert Xu <herbert@gondor.hengli.com.au>,
bridge@lists.linux-foundation.org
Subject: Re: [Bridge] [BUG] bridge leaks 3 references on lo per up&down
Date: Wed, 28 Jul 2010 14:03:36 +0200 [thread overview]
Message-ID: <20100728120336.GD13413@jupiter.n2.diac24.net> (raw)
In-Reply-To: <20100728095825.GC13413@jupiter.n2.diac24.net>
On Wed, Jul 28, 2010 at 11:58:25AM +0200, David Lamparter wrote:
> 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...
It only happens with BRIDGE_IGMP_SNOOPING. As we don't need that, our
"fix" is just to run with it disabled... works pretty fine.
Herbert, you implemented bridge multicast support, maybe you can figure
out where these references are taken?
-David
next prev parent reply other threads:[~2010-07-28 12:03 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 ` [Bridge] [BUG] bridge leaks 3 references on lo per up&down David Lamparter
2010-07-28 12:03 ` David Lamparter [this message]
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=20100728120336.GD13413@jupiter.n2.diac24.net \
--to=equinox@diac24.net \
--cc=bridge@lists.linux-foundation.org \
--cc=herbert@gondor.hengli.com.au \
--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