[RTNL]: Introduce the rtnl_kill_links helper.
This one is responsible for calling ->dellink on each net device found in net to help with vlan net_exit hook in the nearest future. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Acked-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
3a931a80cb
commit
669f87baab
@@ -74,6 +74,7 @@ struct rtnl_link_ops {
|
||||
|
||||
extern int __rtnl_link_register(struct rtnl_link_ops *ops);
|
||||
extern void __rtnl_link_unregister(struct rtnl_link_ops *ops);
|
||||
extern void rtnl_kill_links(struct net *net, struct rtnl_link_ops *ops);
|
||||
|
||||
extern int rtnl_link_register(struct rtnl_link_ops *ops);
|
||||
extern void rtnl_link_unregister(struct rtnl_link_ops *ops);
|
||||
|
Reference in New Issue
Block a user