Skip to content
Commit 23c39481 authored by David S. Miller's avatar David S. Miller
Browse files

Merge branch 'ethtool-fail-with-error-if-request-has-unknown-flags'



Michal Kubecek says:

====================
ethtool: fail with error if request has unknown flags

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).
====================

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents ef299cc3 2363d73a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment