Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Vladimir Oltean <olteanv@gmail.com>
To: "Radu Nicolae Pirea (OSS)" <radu-nicolae.pirea@oss.nxp.com>
Cc: gregkh@linuxfoundation.org, stable@vger.kernel.org,
	andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com
Subject: Re: [PATCH] net: dsa: sja1105: fix new_retagging table size
Date: Tue, 6 Dec 2022 16:03:53 +0200	[thread overview]
Message-ID: <20221206140353.e5zxuoiavd4scukc@skbuf> (raw)
In-Reply-To: <20221206135104.734446-1-radu-nicolae.pirea@oss.nxp.com>

I guess I would have named the subject-prefix "PATCH stable 5.10",
so this jumps out better.

On Tue, Dec 06, 2022 at 03:51:04PM +0200, Radu Nicolae Pirea (OSS) wrote:
> Allocate more memory for the new_retagging table according to its size.
> 
> Signed-off-by: Radu Nicolae Pirea (OSS) <radu-nicolae.pirea@oss.nxp.com>
> ---
>  drivers/net/dsa/sja1105/sja1105_main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Should be applied on top of 5.10.157.
> It is not relevant for newer LTS kernels.

The fix is correct.

Reviewed-by: Vladimir Oltean <olteanv@gmail.com>

The code it fixes was deleted in commit 6dfd23d35e75 ("net: dsa:
sja1105: delete vlan delta save/restore logic"), which first appeared in v5.15,
and was introduced in commit ec5ae61076d0 ("net: dsa: sja1105:
save/restore VLANs using a delta commit method"), which first appeared in v5.9.

So the patch should be applied only to the currently maintained linux-stable
branches older than linux-5.15.y. That is indeed only linux-5.10.y.

  reply	other threads:[~2022-12-06 14:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-06 13:51 [PATCH] net: dsa: sja1105: fix new_retagging table size Radu Nicolae Pirea (OSS)
2022-12-06 14:03 ` Vladimir Oltean [this message]
2022-12-06 16:08 ` Greg KH
2022-12-06 16:44   ` Vladimir Oltean

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=20221206140353.e5zxuoiavd4scukc@skbuf \
    --to=olteanv@gmail.com \
    --cc=andrew@lunn.ch \
    --cc=f.fainelli@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=radu-nicolae.pirea@oss.nxp.com \
    --cc=stable@vger.kernel.org \
    --cc=vivien.didelot@gmail.com \
    /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