diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-10-27 03:06:36 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-28 05:22:07 -0400 |
commit | 23289a37e2b127dfc4de1313fba15bb4c9f0cd5b (patch) | |
tree | 209edb2cb43dedb97477e1297873ada4759a1066 /include/net/rtnetlink.h | |
parent | 9b5e383c11b08784eb0087617f880077982ef769 (diff) |
net: add a list_head parameter to dellink() method
Adding a list_head parameter to rtnl_link_ops->dellink() methods
allow us to queue devices on a list, in order to dismantle
them all at once.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/rtnetlink.h')
-rw-r--r-- | include/net/rtnetlink.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/rtnetlink.h b/include/net/rtnetlink.h index c3aa044d3fc3..cd5af1f508f2 100644 --- a/include/net/rtnetlink.h +++ b/include/net/rtnetlink.h | |||
@@ -61,7 +61,8 @@ struct rtnl_link_ops { | |||
61 | int (*changelink)(struct net_device *dev, | 61 | int (*changelink)(struct net_device *dev, |
62 | struct nlattr *tb[], | 62 | struct nlattr *tb[], |
63 | struct nlattr *data[]); | 63 | struct nlattr *data[]); |
64 | void (*dellink)(struct net_device *dev); | 64 | void (*dellink)(struct net_device *dev, |
65 | struct list_head *head); | ||
65 | 66 | ||
66 | size_t (*get_size)(const struct net_device *dev); | 67 | size_t (*get_size)(const struct net_device *dev); |
67 | int (*fill_info)(struct sk_buff *skb, | 68 | int (*fill_info)(struct sk_buff *skb, |