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>
This commit is contained in:
committed by
David S. Miller
parent
9b5e383c11
commit
23289a37e2
@@ -442,7 +442,7 @@ err_register_peer:
|
||||
return err;
|
||||
}
|
||||
|
||||
static void veth_dellink(struct net_device *dev)
|
||||
static void veth_dellink(struct net_device *dev, struct list_head *head)
|
||||
{
|
||||
struct veth_priv *priv;
|
||||
struct net_device *peer;
|
||||
|
Reference in New Issue
Block a user