On Wed, 7 Oct 2020 12:53:50 +0200 Johannes Berg wrote: > From: Johannes Berg <johannes.b...@intel.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 <l...@kernel.org> > Signed-off-by: Johannes Berg <johannes.b...@intel.com>
Applied both, thanks!