From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Dmitry Antipov <dmantipov@yandex.ru>
Cc: stable@vger.kernel.org, lvc-project@linuxtesting.org,
Anjaneyulu <pagadala.yesu.anjaneyulu@intel.com>,
Gregory Greenman <gregory.greenman@intel.com>,
Johannes Berg <johannes.berg@intel.com>
Subject: Re: [PATCH v2 6.1] wifi: iwlwifi: add a few rate index validity checks
Date: Thu, 30 Jan 2025 10:46:56 +0100 [thread overview]
Message-ID: <2025013031-slit-claw-f9bb@gregkh> (raw)
In-Reply-To: <20250129143230.2449278-1-dmantipov@yandex.ru>
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.If1137f894775d6d07b78cbf3a6163ffce6399507@changeid
> 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
prev parent reply other threads:[~2025-01-30 9:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-28 9:59 [PATCH 6.1] wifi: iwlwifi: add a few rate index validity checks Dmitry Antipov
2025-01-28 16:17 ` Sasha Levin
2025-01-29 9:36 ` Greg Kroah-Hartman
2025-01-29 14:32 ` [PATCH v2 " Dmitry Antipov
2025-01-29 16:47 ` Sasha Levin
2025-01-30 9:46 ` Greg Kroah-Hartman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2025013031-slit-claw-f9bb@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=dmantipov@yandex.ru \
--cc=gregory.greenman@intel.com \
--cc=johannes.berg@intel.com \
--cc=lvc-project@linuxtesting.org \
--cc=pagadala.yesu.anjaneyulu@intel.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox