summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_options.c
diff options
context:
space:
mode:
authorDavid Ahern2017-10-05 02:48:46 +0200
committerDavid S. Miller2017-10-05 06:39:33 +0200
commit33eaf2a6eb48ebf00374aaaf4b1b43f9950dcbe4 (patch)
tree454a262863d22c076b0a7f494152ec16154bd22a /drivers/net/bonding/bond_options.c
parentnet: Add extack to netdev_notifier_info (diff)
downloadkernel-qcow2-linux-33eaf2a6eb48ebf00374aaaf4b1b43f9950dcbe4.tar.gz
kernel-qcow2-linux-33eaf2a6eb48ebf00374aaaf4b1b43f9950dcbe4.tar.xz
kernel-qcow2-linux-33eaf2a6eb48ebf00374aaaf4b1b43f9950dcbe4.zip
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 '-':