Messages in this thread | | | Date | Tue, 23 Jun 2015 17:09:20 +0200 | From | Jiri Pirko <> | Subject | Re: [PATCH] net: switchdev: ignore unsupported bridge flags |
| |
Tue, Jun 23, 2015 at 04:26:04PM CEST, vivien.didelot@savoirfairelinux.com wrote: >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.) > >Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Fixes: 8793d0a664a8 ("switchdev: add new switchdev_port_bridge_getlink") Acked-by: Jiri Pirko <jiri@resnulli.us>
| |