Re: [PATCH] net: switchdev: don't abort unsupported operations

From: Jiri Pirko
Date: Sat Jul 11 2015 - 05:56:10 EST


Sat, Jul 11, 2015 at 01:48:58AM CEST, vivien.didelot@xxxxxxxxxxxxxxxxxxxx wrote:
>There is no need to abort attribute setting or object addition, if the
>prepare phase returned operation not supported.
>
>Thus, abort these two transactions only if the error is not -EOPNOTSUPP.
>
>Signed-off-by: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>

Sounds reasonable.

Acked-by: Jiri Pirko <jiri@xxxxxxxxxxx>
--
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/