summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-04-16 00:46:52 -0700
committerDavid S. Miller <davem@davemloft.net>2008-04-16 00:46:52 -0700
commit669f87baab90183e13b95480aecf8d7bac92ca3c (patch)
treecca1b9347893cb8275dad19945b69371102d57b6 /include/net
parent3a931a80cb25f905da377d1bb0ba9b1641aa579a (diff)
downloadlinux-3.10-669f87baab90183e13b95480aecf8d7bac92ca3c.tar.gz
linux-3.10-669f87baab90183e13b95480aecf8d7bac92ca3c.tar.bz2
linux-3.10-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')
-rw-r--r--include/net/rtnetlink.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/rtnetlink.h b/include/net/rtnetlink.h
index 793863e09c6..3c1895e54b7 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);