diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-04-16 07:46:52 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-16 07:46:52 (GMT) |
commit | 669f87baab90183e13b95480aecf8d7bac92ca3c (patch) | |
tree | cca1b9347893cb8275dad19945b69371102d57b6 /include/net/rtnetlink.h | |
parent | 3a931a80cb25f905da377d1bb0ba9b1641aa579a (diff) | |
download | linux-fsl-qoriq-669f87baab90183e13b95480aecf8d7bac92ca3c.tar.xz |
[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 793863e..3c1895e 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); |