From: "Paul Rolland" <rol@as2917.net>
To: "'Chris Friesen'" <cfriesen@nortelnetworks.com>, <paulus@samba.org>
Cc: <linux-kernel@vger.kernel.org>, <linux-ppp@vger.kernel.org>,
<shemminger@osdl.org>, <netdev@oss.sgi.com>
Subject: Re: [BUG]: problem when shutting down ppp connection since 2.5.70
Date: Sun, 6 Jul 2003 11:43:30 +0200 [thread overview]
Message-ID: <008201c343a3$0f9f8a70$2101a8c0@witbe> (raw)
In-Reply-To: <3F03BC55.6050506@nortelnetworks.com>
Hello,
> Well, I've upgraded to the latest 2.5.74 kernel and pppd
> version 2.4.2b3
> (still using the rp-pppoe userspace software though).
>
> Per Stephen's suggestion I also tried removing the ip address and
> bringing down the ppp link before shuttind down the adsl connection.
>
> Makes no difference.
>
To complete on this topic : I've got the problem since 2.5.70, when
netdev_wait_allrefs has been introduced in net/core/dev.c
I have the same behavior using vtund, configured to create a tap0
interface.
At shutdown time, the interface refuses to get freed and I'm stuck.
Having vtund started at boot time (within the /etc/rc.d/... stuff)
or later doesn't make any difference.
Shutting down the interface before stopping the application or halting
the machine doesn't make any difference either.
The other problem is that the current implementation of
netdev_wait_allrefs makes that if you kill an application that is
using a device not correctly counted, you lock the console you are
working on.
e.g., killing vtund will create a printk(... unregister_netdevice...),
and the console cannot be used anymore as long as the counter hasn't
reached 0 and the device is freed...
Paul
next prev parent reply other threads:[~2003-07-06 9:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3EFFA1EA.7090502@nortelnetworks.com>
2003-07-03 5:17 ` [BUG]: problem when shutting down ppp connection since 2.5.70 Chris Friesen
2003-07-06 9:43 ` Paul Rolland [this message]
2003-07-09 18:43 ` Stephen Hemminger
2003-07-14 9:16 ` Paul Rolland
2003-07-14 11:43 Paul Rolland
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='008201c343a3$0f9f8a70$2101a8c0@witbe' \
--to=rol@as2917.net \
--cc=cfriesen@nortelnetworks.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-ppp@vger.kernel.org \
--cc=netdev@oss.sgi.com \
--cc=paulus@samba.org \
--cc=shemminger@osdl.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;
as well as URLs for NNTP newsgroup(s).