[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070711.194247.98556971.davem@davemloft.net>
Date: Wed, 11 Jul 2007 19:42:47 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: kaber@...sh.net
Cc: netdev@...r.kernel.org, greearb@...delatech.com, xemul@...nvz.org
Subject: Re: [RTNETLINK 03/04]: rtnl_link API simplification
From: Patrick McHardy <kaber@...sh.net>
Date: Wed, 11 Jul 2007 19:38:17 +0200 (MEST)
> [RTNETLINK]: rtnl_link API simplification
>
> All drivers need to unregister their devices in the module unload function.
> While doing so they must hold the rtnl and atomically unregister the
> rtnl_link ops as well. This makes the rtnl_link_unregister function that
> takes the rtnl itself completely useless.
>
> Provide default newlink/dellink functions, make __rtnl_link_unregister and
> rtnl_link_unregister unregister all devices with matching rtnl_link_ops and
> change the existing users to take advantage of that.
>
> Signed-off-by: Patrick McHardy <kaber@...sh.net>
Applied.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists