Re: RTNL assert

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Mon Oct 30 2000 - 11:43:52 EST


David Woodhouse wrote:
>
> On Sat, 28 Oct 2000, Andrew Morton wrote:
>
> > The rtnetlink lock needs to be taken around
> > register_netdevice(). There should be a function
> > which does these three common steps, but there isn't.
>
> I thought the only difference between register_netdev() and
> register_netdevice() was that one took the rtnl_lock and the other didn't?

And, register_netdev allocates a name for you if necessary...

-- 
Jeff Garzik             | "Mind if I drive?"  -Sam
Building 1024           | "Not if you don't mind me clawing at the
MandrakeSoft            |  dash and shrieking like a cheerleader."
                        |                     -Max
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 31 2000 - 21:00:27 EST