From: David S. Miller Date: Mon, 16 Mar 2020 09:04:24 +0000 (-0700) Subject: Merge branch 'ethtool-fail-with-error-if-request-has-unknown-flags' X-Git-Tag: v5.10.7~3028^2~52 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=23c394819deb4eb642b60bbd5b3eef181e65cd8f;p=platform%2Fkernel%2Flinux-rpi.git 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: David S. Miller --- 23c394819deb4eb642b60bbd5b3eef181e65cd8f