diff options
author | David Ahern <dsahern@gmail.com> | 2017-10-04 17:48:46 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-04 21:39:33 -0700 |
commit | 33eaf2a6eb48ebf00374aaaf4b1b43f9950dcbe4 (patch) | |
tree | 454a262863d22c076b0a7f494152ec16154bd22a /drivers/net/vrf.c | |
parent | 51d0c04795a4b5d9a188336884887a9d394a94b0 (diff) | |
download | linux-stable-33eaf2a6eb48ebf00374aaaf4b1b43f9950dcbe4.tar.gz linux-stable-33eaf2a6eb48ebf00374aaaf4b1b43f9950dcbe4.tar.bz2 linux-stable-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/vrf.c')
-rw-r--r-- | drivers/net/vrf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/vrf.c b/drivers/net/vrf.c index cc18b7b11612..4a082ef53533 100644 --- a/drivers/net/vrf.c +++ b/drivers/net/vrf.c @@ -788,7 +788,8 @@ err: return ret; } -static int vrf_add_slave(struct net_device *dev, struct net_device *port_dev) +static int vrf_add_slave(struct net_device *dev, struct net_device *port_dev, + struct netlink_ext_ack *extack) { if (netif_is_l3_master(port_dev) || netif_is_l3_slave(port_dev)) return -EINVAL; |