summaryrefslogtreecommitdiff
path: root/drivers/net/team
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/team
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/team')
-rw-r--r--drivers/net/team/team.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c
index ae53e899259f..4359d45aa131 100644
--- a/drivers/net/team/team.c
+++ b/drivers/net/team/team.c
@@ -1914,7 +1914,8 @@ static int team_netpoll_setup(struct net_device *dev,
}
#endif
-static int team_add_slave(struct net_device *dev, struct net_device *port_dev)
+static int team_add_slave(struct net_device *dev, struct net_device *port_dev,
+ struct netlink_ext_ack *extack)
{
struct team *team = netdev_priv(dev);
int err;