[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201008162040.69789744@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Thu, 8 Oct 2020 16:20:40 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Johannes Berg <johannes@...solutions.net>
Cc: netdev@...r.kernel.org, Leon Romanovsky <leon@...nel.org>,
Johannes Berg <johannes.berg@...el.com>
Subject: Re: [PATCH 1/2] ethtool: strset: allow ETHTOOL_A_STRSET_COUNTS_ONLY
attr
On Wed, 7 Oct 2020 12:53:50 +0200 Johannes Berg wrote:
> From: Johannes Berg <johannes.berg@...el.com>
>
> The ETHTOOL_A_STRSET_COUNTS_ONLY flag attribute was previously
> not allowed to be used, but now due to the policy size reduction
> we would access the tb[] array out of bounds since we tried to
> check for the attribute despite it not being accepted.
>
> Fix both issues by adding it correctly to the appropriate policy.
>
> Fixes: ff419afa4310 ("ethtool: trim policy tables")
> Fixes: 71921690f974 ("ethtool: provide string sets with STRSET_GET request")
> Reported-by: Leon Romanovsky <leon@...nel.org>
> Signed-off-by: Johannes Berg <johannes.berg@...el.com>
Applied both, thanks!
Powered by blists - more mailing lists