Re: [PATCH] net: switchdev: ignore unsupported bridge flags

From: David Miller
Date: Wed Jun 24 2015 - 03:55:32 EST


From: Jiri Pirko <jiri@xxxxxxxxxxx>
Date: Tue, 23 Jun 2015 17:09:20 +0200

> Tue, Jun 23, 2015 at 04:26:04PM CEST, vivien.didelot@xxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxx>
>
> Fixes: 8793d0a664a8 ("switchdev: add new switchdev_port_bridge_getlink")
> Acked-by: Jiri Pirko <jiri@xxxxxxxxxxx>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/