netdev
[Top] [All Lists]

Re: Fw: unregister_netdevice(): negative refcnt, suggest patch against 2

To: netdev@xxxxxxxxxxx
Subject: Re: Fw: unregister_netdevice(): negative refcnt, suggest patch against 2.6.11
From: Felix Palmen <fmp@xxxxxxxxxxxxxxxxx>
Date: Sun, 10 Apr 2005 23:27:27 +0200
In-reply-to: <20050410034446.39e3025e.akpm@xxxxxxxx>
Mail-followup-to: fmp, netdev@xxxxxxxxxxx
Organization: University of Karlsruhe, Germany
References: <20050410034446.39e3025e.akpm@xxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
* Felix M. Palmen <fmp@xxxxxxxxxxxxxxxxx> [20050410 11:16]:
> So I assume there is a problem in the appletalk code, but I didn't try
> reproducing that on other systems so far.

I've now tested this issue on a vanilla 2.6.11.7 kernel. I only applied
my own patch from the previous post so that I am able to shut down the
computer cleanly. So I did the following:

- boot 2.6.11.7
- create a tap device with 'openvpn --mktun --dev tap0'
- create /etc/netatalk/atalkd.conf with a single line 'tap0'
- launch atalkd, wait.
- stop atalkd.
- destroy tap device with 'openvpn --rmtun --dev tap0'

refcnt was -256, very strange.

Would you consider my patch harmful? I intend using it for now, because
otherwise, my system won't shut down cleanly any more...

Greets, Felix

PS: Please CC replies to me.
PPS: I'm sorry for the multipost (lkml and here), at first I didn't
realize Andrew was directing this thread to linux-netdev

-- 
 | /"\   ASCII Ribbon   | Felix M. Palmen (Zirias)    http://zirias.ath.cx/ |
 | \ / Campaign Against | fmp@xxxxxxxxxxxxxxxxx      encrypted mail welcome |
 |  X    HTML In Mail   | PGP key: http://zirias.ath.cx/pub.txt             |
 | / \     And News     | ED9B 62D0 BE39 32F9 2488 5D0C 8177 9D80 5ECF F683 |

Attachment: signature.asc
Description: Digital signature

<Prev in Thread] Current Thread [Next in Thread>