From: Francois Romieu <romieu@fr.zoreil.com>
To: "David S. Miller" <davem@redhat.com>
Cc: khc@pm.waw.pl, netdev@oss.sgi.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] network hotplug via class_device/kobject
Date: Sun, 15 Jun 2003 12:45:19 +0200 [thread overview]
Message-ID: <20030615124519.A11939@electric-eye.fr.zoreil.com> (raw)
In-Reply-To: <20030615.005055.55726223.davem@redhat.com>; from davem@redhat.com on Sun, Jun 15, 2003 at 12:50:55AM -0700
David S. Miller <davem@redhat.com> :
[rtnl_lock() and register_netdevice()]
> Paranoid about some driver doing something like:
> rtnl_lock(); register_netdevice(); unregister_netdevice(); rtnl_unlock() BOOM
>
> These sorts of turds exist at least in two places:
>
> 1) drivers/net/wan/comx.c
> 2) drivers/net/wan/hdlc_fr.c
>
> But it is pretty clear that these two drivers have been
> tried by nobody in recent years. They both call into
It's pretty clear but it's false :o)
> {un,}register_netdevice without the RTNL semaphore held.
There is a maintainer for 2):
GENERIC HDLC DRIVER, N2 AND C101 DRIVERS
P: Krzysztof Halasa
M: khc@pm.waw.pl
W: http://hq.pm.waw.pl/hdlc/
S: Maintained
--
Ueimor
next prev parent reply other threads:[~2003-06-15 10:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-13 23:41 Stephen Hemminger
2003-06-15 7:50 ` David S. Miller
2003-06-15 10:45 ` Francois Romieu [this message]
2003-06-15 19:32 ` Krzysztof Halasa
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=20030615124519.A11939@electric-eye.fr.zoreil.com \
--to=romieu@fr.zoreil.com \
--cc=davem@redhat.com \
--cc=khc@pm.waw.pl \
--cc=linux-kernel@vger.kernel.org \
--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
all inboxes | Powered by JetHome®