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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:41 EST