[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200311155632.4521c71b@kicinski-fedora-PC1C0HJN>
Date: Wed, 11 Mar 2020 15:56:32 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Michal Kubecek <mkubecek@...e.cz>
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
Jiri Pirko <jiri@...nulli.us>, Andrew Lunn <andrew@...n.ch>,
Florian Fainelli <f.fainelli@...il.com>,
John Linville <linville@...driver.com>,
Johannes Berg <johannes@...solutions.net>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next 05/15] ethtool: set netdev features with
FEATURES_SET request
On Wed, 11 Mar 2020 22:40:28 +0100 (CET) Michal Kubecek wrote:
> + if (!(req_info.flags & ETHTOOL_FLAG_OMIT_REPLY)) {
> + bool compact = req_info.flags & ETHTOOL_FLAG_COMPACT_BITSETS;
is req_info->flags validated anywhere to make sure users get an error
when they set a bit unrecognized by the kernel? :S
Powered by blists - more mailing lists