Re: RTNL assert

Jeff Garzik
2000-10-30T16:44:53Z

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