diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2015-06-23 16:26:04 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-24 10:06:34 +0200 |
commit | 5c8079d049c8452aeacec96a260200d468afc87d (patch) | |
tree | a344857117540e5df17bb85316f59e38013637c7 /net/ipv4/fib_semantics.c | |
parent | net: Cavium: Fix MAC address setting in shutdown state (diff) | |
download | linux-5c8079d049c8452aeacec96a260200d468afc87d.tar.xz linux-5c8079d049c8452aeacec96a260200d468afc87d.zip |
net: switchdev: ignore unsupported bridge flags
switchdev_port_bridge_getlink() queries SWITCHDEV_ATTR_PORT_BRIDGE_FLAGS
attributes, but a driver doesn't need to implement this in order to get
bridge link information.
So error out only on errors different than -EOPNOTSUPP.
(This is a follow-up patch for 7d4f8d8.)
Fixes: 8793d0a664a8 ("switchdev: add new switchdev_port_bridge_getlink")
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_semantics.c')
0 files changed, 0 insertions, 0 deletions