diff options
author | David Ahern <dsahern@gmail.com> | 2017-10-05 03:48:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-05 07:39:34 +0300 |
commit | ca752be006013ac6f19721280f44c91ef07ad3d1 (patch) | |
tree | 78062ce7b833483852bfb2bc381c518ed2004b72 /net/bridge/br_private.h | |
parent | 759088bda21f4887c645579418e8b478eb570d78 (diff) | |
download | linux-ca752be006013ac6f19721280f44c91ef07ad3d1.tar.xz |
net: bridge: Pass extack to down to netdev_master_upper_dev_link
Pass extack arg to br_add_if. Add messages for a couple of failures
and pass arg to netdev_master_upper_dev_link.
Signed-off-by: David Ahern <dsahern@gmail.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r-- | net/bridge/br_private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index 020c709a017f..ab4df24f7bba 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h @@ -566,7 +566,8 @@ void br_flood(struct net_bridge *br, struct sk_buff *skb, void br_port_carrier_check(struct net_bridge_port *p); int br_add_bridge(struct net *net, const char *name); int br_del_bridge(struct net *net, const char *name); -int br_add_if(struct net_bridge *br, struct net_device *dev); +int br_add_if(struct net_bridge *br, struct net_device *dev, + struct netlink_ext_ack *extack); int br_del_if(struct net_bridge *br, struct net_device *dev); int br_min_mtu(const struct net_bridge *br); netdev_features_t br_features_recompute(struct net_bridge *br, |