From: Thomas Graf <tgraf@suug.ch>
To: Felix Palmen <fmp@palmen.homeip.net>
Cc: netdev@oss.sgi.com
Subject: Re: Fw: unregister_netdevice(): negative refcnt, suggest patch against 2.6.11
Date: Mon, 11 Apr 2005 14:51:13 +0200 [thread overview]
Message-ID: <20050411125113.GL26731@postel.suug.ch> (raw)
In-Reply-To: <20050411023038.GB13829@palmen.homeip.net>
* Felix Palmen <20050411023038.GB13829@palmen.homeip.net> 2005-04-11 04:30
> * Thomas Graf <tgraf@suug.ch> [20050410 23:50]:
> > Is it always 256? Do you have any appletalk routes configured?
> > If so, is the 256 dependand on the number of routes?
>
> That could really be the case:
>
> - In my test with vanilla 2.6.11.7, there was no other appletalk
> station on the net -> refcnt was -256
How long was the interface up before you removed it again? That 256
might be due to probes still floating around expiring very slowly
because there is no other station around.
> - On my working system, I use a single route and get refcnt = -1
This one I can explain quite easly, I did not found a dev_hold()
for the dev_put() that is done upon deletion of the routes when
the interface is removed.
> - When I first tried appletalk without configuring anything but the
> interface and PearPC with Mac OS X runnning on the other side, refcnt
> was -2
OK, I think the problem is a few missing dev_hold() when the net_device
handle is assigned to routes, probes, etc.
next prev parent reply other threads:[~2005-04-11 12:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-10 10:44 Fw: unregister_netdevice(): negative refcnt, suggest patch against 2.6.11 Andrew Morton
2005-04-10 21:27 ` Felix Palmen
2005-04-10 21:50 ` Thomas Graf
2005-04-11 2:30 ` Felix Palmen
2005-04-11 12:51 ` Thomas Graf [this message]
2005-04-18 2:07 ` Herbert Xu
2005-04-18 8:09 ` Herbert Xu
2005-04-18 14:48 ` Arnaldo Carvalho de Melo
2005-04-18 10:17 ` Thomas Graf
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=20050411125113.GL26731@postel.suug.ch \
--to=tgraf@suug.ch \
--cc=fmp@palmen.homeip.net \
--cc=netdev@oss.sgi.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).