On Wed, Jan 29, 2025 at 05:32:30PM +0300, Dmitry Antipov wrote:
From: Anjaneyulu pagadala.yesu.anjaneyulu@intel.com
commit efbe8f81952fe469d38655744627d860879dcde8 upstream.
Validate index before access iwl_rate_mcs to keep rate->index inside the valid boundaries. Use MCS_0_INDEX if index is less than MCS_0_INDEX and MCS_9_INDEX if index is greater than MCS_9_INDEX.
Signed-off-by: Anjaneyulu pagadala.yesu.anjaneyulu@intel.com Signed-off-by: Gregory Greenman gregory.greenman@intel.com Link: https://lore.kernel.org/r/20230614123447.79f16b3aef32.If1137f894775d6d07b78c... Signed-off-by: Johannes Berg johannes.berg@intel.com Signed-off-by: Dmitry Antipov dmantipov@yandex.ru
v2: (re)adjust copyright notice
You also fixed the grammer in the changelog! Ugh, let me just go backport these myself, please don't change things that you shouldn't need to change...
greg k-h