summaryrefslogtreecommitdiff
path: root/drivers/net/bonding/bond_options.c
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2017-10-05 03:48:46 +0300
committerDavid S. Miller <davem@davemloft.net>2017-10-05 07:39:33 +0300
commit33eaf2a6eb48ebf00374aaaf4b1b43f9950dcbe4 (patch)
tree454a262863d22c076b0a7f494152ec16154bd22a /drivers/net/bonding/bond_options.c
parent51d0c04795a4b5d9a188336884887a9d394a94b0 (diff)
downloadlinux-33eaf2a6eb48ebf00374aaaf4b1b43f9950dcbe4.tar.xz
net: Add extack to ndo_add_slave
Pass extack to do_set_master and down to ndo_add_slave Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_options.c')
-rw-r--r--drivers/net/bonding/bond_options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_options.c b/drivers/net/bonding/bond_options.c
index 5931aa2fe997..8a9b085c2a98 100644
--- a/drivers/net/bonding/bond_options.c
+++ b/drivers/net/bonding/bond_options.c
@@ -1383,7 +1383,7 @@ static int bond_option_slaves_set(struct bonding *bond,
switch (command[0]) {
case '+':
netdev_dbg(bond->dev, "Adding slave %s\n", dev->name);
- ret = bond_enslave(bond->dev, dev);
+ ret = bond_enslave(bond->dev, dev, NULL);
break;
case '-':