Re: [PATCH net 0/3] ethtool: fail with error if request has unknown flags

From: David Miller
Date: Mon Mar 16 2020 - 05:05:01 EST


From: Michal Kubecek <mkubecek@xxxxxxx>
Date: Sun, 15 Mar 2020 18:17:38 +0100 (CET)

> Jakub Kicinski pointed out that if unrecognized flags are set in netlink
> header request, kernel shoud fail with an error rather than silently
> ignore them so that we have more freedom in future flags semantics.
>
> To help userspace with handling such errors, inform the client which
> flags are supported by kernel. For that purpose, we need to allow
> passing cookies as part of extack also in case of error (they can be
> only passed on success now).

Series applied, thanks Michal.