From: Ralf Baechle DO1GRB (mvabmle@idform.ch)
Date: Sat Dec 27 2003 - 06:05:23 EET
On Thu, Dec 25, 2003 at 07:52:33PM +0100, Jeroen Vreeken wrote:
> This is a fix for the scc driver in 2.6.0
> It was calling register_netdev from within a ioctl and thus holding
> rtnl_lock()
> It now uses register_netdevice and calls rtnl_lock() itself if outside the
> ioctl.
Somehow the whole device registration in that driver looks suspect.
Registering from the driver's module_init() method is fine - but doing so
from ioctl looks more it's some kind of ancient workaround or so?
73 de DO1GRB op Ralf
-- Loc. JN47BS / CQ 14 / ITU 28 / DOK A21 - To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to ujuslgy.noba@10wizards.nl More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2b30 : Sat Dec 27 2003 - 06:05:05 EET