diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2017-06-25 23:55:59 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-26 23:13:21 -0400 |
commit | 7a3f4a185169b195c33f1c54f33a44eba2d6aa96 (patch) | |
tree | 71b125722dcdfba64d75c96b07d65a7d2a4ed194 /net/bridge | |
parent | dacdbb4dfc1a1a1378df8ebc914d4fe82259ed46 (diff) | |
download | linux-7a3f4a185169b195c33f1c54f33a44eba2d6aa96.tar.bz2 |
net: add netlink_ext_ack argument to rtnl_link_ops.newlink
Add support for extended error reporting.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Acked-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
-rw-r--r-- | net/bridge/br_netlink.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/bridge/br_netlink.c b/net/bridge/br_netlink.c index 63dca347b73b..39c1fa104c8d 100644 --- a/net/bridge/br_netlink.c +++ b/net/bridge/br_netlink.c @@ -1213,7 +1213,8 @@ static int br_changelink(struct net_device *brdev, struct nlattr *tb[], } static int br_dev_newlink(struct net *src_net, struct net_device *dev, - struct nlattr *tb[], struct nlattr *data[]) + struct nlattr *tb[], struct nlattr *data[], + struct netlink_ext_ack *extack) { struct net_bridge *br = netdev_priv(dev); int err; |