All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: stable@vger.kernel.org
Cc: Dmitry Antipov <dmantipov@yandex.ru>, Sasha Levin <sashal@kernel.org>
Subject: Re: [PATCH 5.10] wifi: iwlwifi: add a few rate index validity checks
Date: Tue, 28 Jan 2025 11:17:52 -0500	[thread overview]
Message-ID: <20250128105344-76485f9fabf36849@stable.kernel.org> (raw)
In-Reply-To: <20250128095802.1410328-1-dmantipov@yandex.ru>

[ Sasha's backport helper bot ]

Hi,

The upstream commit SHA1 provided is correct: efbe8f81952fe469d38655744627d860879dcde8

WARNING: Author mismatch between patch and upstream commit:
Backport author: Dmitry Antipov<dmantipov@yandex.ru>
Commit author: Anjaneyulu<pagadala.yesu.anjaneyulu@intel.com>


Status in newer kernel trees:
6.13.y | Branch not found
6.12.y | Present (exact SHA1)
6.6.y | Present (exact SHA1)
6.1.y | Not found
5.15.y | Not found
5.10.y | Not found

Note: The patch differs from the upstream commit:
---
1:  efbe8f81952fe ! 1:  7963551783c9b wifi: iwlwifi: add a few rate index validity checks
    @@ Metadata
      ## Commit message ##
         wifi: iwlwifi: add a few rate index validity checks
     
    +    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 then
    +    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>
     
      ## drivers/net/wireless/intel/iwlwifi/dvm/rs.c ##
     @@
      /******************************************************************************
       *
       * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved.
    -- * Copyright (C) 2019 - 2020, 2022 Intel Corporation
    -+ * Copyright (C) 2019 - 2020, 2022 - 2023 Intel Corporation
    -  *****************************************************************************/
    - #include <linux/kernel.h>
    - #include <linux/skbuff.h>
    +- * Copyright (C) 2019 - 2020 Intel Corporation
    ++ * Copyright (C) 2019 - 2020, 2023 Intel Corporation
    +  *
    +  * Contact Information:
    +  *  Intel Linux Wireless <linuxwifi@intel.com>
     @@ drivers/net/wireless/intel/iwlwifi/dvm/rs.c: static int iwl_hwrate_to_plcp_idx(u32 rate_n_flags)
      				return idx;
      	}
    @@ drivers/net/wireless/intel/iwlwifi/mvm/rs.c
      // SPDX-License-Identifier: GPL-2.0-only
      /******************************************************************************
       *
    -- * Copyright(c) 2005 - 2014, 2018 - 2022 Intel Corporation. All rights reserved.
    -+ * Copyright(c) 2005 - 2014, 2018 - 2023 Intel Corporation. All rights reserved.
    +- * Copyright(c) 2005 - 2014, 2018 - 2020 Intel Corporation. All rights reserved.
    ++ * Copyright(c) 2005 - 2014, 2018 - 2020, 2023 Intel Corporation.
    ++ * All rights reserved.
       * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
       * Copyright(c) 2016 - 2017 Intel Deutschland GmbH
    -  *****************************************************************************/
    +  *
     @@ drivers/net/wireless/intel/iwlwifi/mvm/rs.c: static void rs_get_lower_rate_down_column(struct iwl_lq_sta *lq_sta,
      
      		rate->bw = RATE_MCS_CHAN_WIDTH_20;
---

Results of testing on various branches:

| Branch                    | Patch Apply | Build Test |
|---------------------------|-------------|------------|
| stable/linux-5.10.y       |  Success    |  Success   |

  reply	other threads:[~2025-01-28 16:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-28  9:58 [PATCH 5.10] wifi: iwlwifi: add a few rate index validity checks Dmitry Antipov
2025-01-28 16:17 ` Sasha Levin [this message]
2025-01-29  9:36 ` Greg Kroah-Hartman
2025-01-29 14:25   ` [PATCH v2 " Dmitry Antipov
2025-01-29 16:47     ` Sasha Levin

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=20250128105344-76485f9fabf36849@stable.kernel.org \
    --to=sashal@kernel.org \
    --cc=dmantipov@yandex.ru \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.