netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jurriaan <thunder7@xs4all.nl>
To: "David S. Miller" <davem@redhat.com>
Cc: Patrick McHardy <kaber@trash.net>,
	herbert@gondor.apana.org.au, nuno.silva@vgertech.com,
	linux-kernel@vger.kernel.org, master@sectorb.msk.ru,
	netdev@oss.sgi.com
Subject: Re: 2.6.8-rc4-bk1 problem: unregister_netdevice: waiting for ppp0 to become free. Usage count = 1
Date: Thu, 26 Aug 2004 18:46:10 +0200	[thread overview]
Message-ID: <20040826164610.GA11790@middle.of.nowhere> (raw)
In-Reply-To: <20040822214746.1efb3682.davem@redhat.com>

From: David S. Miller <davem@redhat.com>
Date: Sun, Aug 22, 2004 at 09:47:46PM -0700
> On Sun, 22 Aug 2004 14:39:57 +0200
> Patrick McHardy <kaber@trash.net> wrote:
> 
> > Herbert Xu wrote:
> > 
> > >Nuno Silva <nuno.silva@vgertech.com> wrote:
> > >  
> > >OK, this appears to be due to the changeset titled
> > >
> > >[PKT_SCHED]: Refcount qdisc->dev for __qdisc_destroy rcu-callback
> > >
> > >It adds a reference to dev.
> > >
> > >I don't see any code that cleans up that reference when the dev goes
> > >down.  So someone needs to add that similar to the code in net/core/dst.c.
> > >
> > >Patrick, could you please have a look at this?
> > >  
> > The reference is dropped in __qdisc_destroy. The problem lies in the CBQ
> > qdisc, it doesn't destroy the root-class and leaks the inner qdisc. These
> > two patches for 2.4 and 2.6 fix the problem.
> 
> Awesome, good detective work guys.
> 
> Patch applied, thanks.

I get the same error with 2.6.9-rc1-mm1, but now for my ipv6-over-ipv4
tunnel.

unregister_netdevice: waiting for xs6all to become free

etc. when trying to reboot or shutdown. Usage count = 1

I'm pretty sure I didn't see this in 2.6.8.1 nor in 2.6.8.1-mm1.

This is a plain ipv6-over-ipv4 tunnel like this:

/etc/network/interfaces:
auto xs6all
iface xs6all inet6 v4tunnel
        endpoint xxx.xxx.xxx.xxx
        up ip route add 2000::0/3 via xxx:xxx:xxx:xxx:xxx:xxx
        address xxx:xxx:xxx:xxx:xxx:xxx
        netmask 64
        up ip tunnel change xs6all ttl 64

I'm running Debian Unstable with all the latest updates as of today.

Thanks for any hints,
Jurriaan
-- 
"At least she's on our side," said Lindholm.
Corbie looked at him. "Investigators aren't on anybody's side."
	Simon R Green - Hellworld
Debian (Unstable) GNU/Linux 2.6.9-rc1 2x6078 bogomips load 0.46

  reply	other threads:[~2004-08-26 16:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <411BC284.6080807@vgertech.com>
2004-08-13  8:03 ` 2.6.8-rc4-bk1 problem: unregister_netdevice: waiting for ppp0 to become free. Usage count = 1 Vladimir B. Savkin
2004-08-13 20:35   ` Nuno Silva
2004-08-22  2:13     ` Nuno Silva
2004-08-22  5:25       ` David S. Miller
2004-08-22  8:02         ` Nuno Silva
2004-08-22  8:14       ` Herbert Xu
2004-08-22 12:39         ` Patrick McHardy
2004-08-23  4:47           ` David S. Miller
2004-08-26 16:46             ` Jurriaan [this message]
2004-08-23 17:56           ` Nuno Silva

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=20040826164610.GA11790@middle.of.nowhere \
    --to=thunder7@xs4all.nl \
    --cc=davem@redhat.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=kaber@trash.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=master@sectorb.msk.ru \
    --cc=netdev@oss.sgi.com \
    --cc=nuno.silva@vgertech.com \
    /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;
as well as URLs for NNTP newsgroup(s).