diff options
author | Ido Schimmel <idosch@mellanox.com> | 2018-02-27 17:38:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-28 11:01:30 -0500 |
commit | 44d15d930bb8463d10b05bbed45e881e5055495a (patch) | |
tree | c084589f3bc34566e98711b66b8dbe168ee2fe19 /net/ipv6/exthdrs_core.c | |
parent | Merge tag 'mlx5-updates-2018-02-23' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux (diff) | |
download | linux-dev-44d15d930bb8463d10b05bbed45e881e5055495a.tar.xz linux-dev-44d15d930bb8463d10b05bbed45e881e5055495a.zip |
team: Use extack to report enslavement failures
Use extack inside team's enslavement function and also propagate it to
the netdevice notifier to allow enslaved ports to report the failure
reason. Example:
$ teamd -t team0 -d -c '{"runner": {"name": "lacp"}}'
$ ip link set dev lo master team0
Error: Loopback device can't be added as a team port.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions