diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-04-16 03:46:52 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-16 03:46:52 -0400 |
commit | 669f87baab90183e13b95480aecf8d7bac92ca3c (patch) | |
tree | cca1b9347893cb8275dad19945b69371102d57b6 /include | |
parent | 3a931a80cb25f905da377d1bb0ba9b1641aa579a (diff) |
[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')
-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 { | |||
74 | 74 | ||
75 | extern int __rtnl_link_register(struct rtnl_link_ops *ops); | 75 | extern int __rtnl_link_register(struct rtnl_link_ops *ops); |
76 | extern void __rtnl_link_unregister(struct rtnl_link_ops *ops); | 76 | extern void __rtnl_link_unregister(struct rtnl_link_ops *ops); |
77 | extern void rtnl_kill_links(struct net *net, struct rtnl_link_ops *ops); | ||
77 | 78 | ||
78 | extern int rtnl_link_register(struct rtnl_link_ops *ops); | 79 | extern int rtnl_link_register(struct rtnl_link_ops *ops); |
79 | extern void rtnl_link_unregister(struct rtnl_link_ops *ops); | 80 | extern void rtnl_link_unregister(struct rtnl_link_ops *ops); |