* Felix Palmen <20050411023038.GB13829@xxxxxxxxxxxxxxxxx> 2005-04-11 04:30
> * Thomas Graf <tgraf@xxxxxxx> [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 126.96.36.199, 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.