linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Brian Norris <briannorris@google.com>
Cc: stable <stable@vger.kernel.org>,
	linux-wireless <linux-wireless@vger.kernel.org>,
	sharvari.harisangam@nxp.com,
	Ganapathi Bhat <ganapathi.bhat@nxp.com>
Subject: Re: [REQUEST TO BACKPORT] mwifiex: update set_mac_address logic
Date: Tue, 10 Dec 2019 09:21:55 +0100	[thread overview]
Message-ID: <20191210082155.GA3182516@kroah.com> (raw)
In-Reply-To: <CA+ASDXPfK7a8RYdg19nga59QwNkovo7Dt2VOqsCa5vLsc2F-SQ@mail.gmail.com>

On Mon, Dec 09, 2019 at 05:03:54PM -0800, Brian Norris wrote:
> I'd like to request the following commit [1] go to -stable. It fixes a
> regression (as far back as kernel v4.17) where the default MAC address
> is computed incorrectly. This can have pretty nasty effects when
> upgrading kernels, since people don't expect their HW MAC address to
> change.
> 
> It probably should have had this tag, for the record:
> 
> Fixes: 864164683678 ("mwifiex: set different mac address for
> interfaces with same bss type")
> 
> Thanks,
> Brian
> 
> [1]
> commit 7afb94da3cd8a28ed7ae268143117bf1ac8a3371
> Author: Sharvari Harisangam <sharvari@marvell.com>
> Date:   Wed Jun 12 20:42:11 2019 +0530
> 
>     mwifiex: update set_mac_address logic
> 
>     In set_mac_address, driver check for interfaces with same bss_type
>     For first STA entry, this would return 3 interfaces since all priv's have
>     bss_type as 0 due to kzalloc. Thus mac address gets changed for STA
>     unexpected. This patch adds check for first STA and avoids mac address
>     change. This patch also adds mac_address change for p2p based on bss_num
>     type.
> 
>     Signed-off-by: Sharvari Harisangam <sharvari@marvell.com>
>     Signed-off-by: Ganapathi Bhat <gbhat@marvell.com>
>     Signed-off-by: Kalle Valo <kvalo@codeaurora.org

Given this shows up in 5.3, 4.19.y is the only tree it can be applied
to, so I have now done that, thanks.

greg k-h

      reply	other threads:[~2019-12-10  8:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-10  1:03 [REQUEST TO BACKPORT] mwifiex: update set_mac_address logic Brian Norris
2019-12-10  8:21 ` Greg KH [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=20191210082155.GA3182516@kroah.com \
    --to=greg@kroah.com \
    --cc=briannorris@google.com \
    --cc=ganapathi.bhat@nxp.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=sharvari.harisangam@nxp.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;
as well as URLs for NNTP newsgroup(s).