diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-04-16 09:46:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-16 09:46:52 +0200 |
commit | 669f87baab90183e13b95480aecf8d7bac92ca3c (patch) | |
tree | cca1b9347893cb8275dad19945b69371102d57b6 /include/net/rtnetlink.h | |
parent | [RTNL]: Relax for_each_netdev_safe in __rtnl_link_unregister. (diff) | |
download | linux-669f87baab90183e13b95480aecf8d7bac92ca3c.tar.xz linux-669f87baab90183e13b95480aecf8d7bac92ca3c.zip |
[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>
Diffstat (limited to 'include/net/rtnetlink.h')
-rw-r--r-- | include/net/rtnetlink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/rtnetlink.h b/include/net/rtnetlink.h index 793863e09c69..3c1895e54b7f 100644 --- a/include/net/rtnetlink.h +++ b/include/net/rtnetlink.h @@ -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); |