Re: [PATCH net 3/3] ethtool: reject unrecognized request flags

From: Sergei Shtylyov
Date: Mon Mar 16 2020 - 05:39:52 EST


Hello!

On 15.03.2020 20:17, Michal Kubecek wrote:

As pointed out by Jakub Kicinski, we ethtool netlink code should respond

s/we/the/?

with an error if request head has flags set which are not recognized by
kernel, either as a mistake or because it expects functionality introduced
in later kernel versions.

To avoid unnecessary roundtrips, use extack cookie to provide the
information about supported request flags.

Signed-off-by: Michal Kubecek <mkubecek@xxxxxxx>
[...]

MBR, Sergei