net: Add extack to upper device linking
Add extack arg to netdev_upper_dev_link and netdev_master_upper_dev_link Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
33eaf2a6eb
commit
42ab19ee90
@@ -540,7 +540,7 @@ int br_add_if(struct net_bridge *br, struct net_device *dev)
|
||||
|
||||
dev->priv_flags |= IFF_BRIDGE_PORT;
|
||||
|
||||
err = netdev_master_upper_dev_link(dev, br->dev, NULL, NULL);
|
||||
err = netdev_master_upper_dev_link(dev, br->dev, NULL, NULL, NULL);
|
||||
if (err)
|
||||
goto err5;
|
||||
|
||||
|
Reference in New Issue
Block a user