All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vladimir Oltean <vladimir.oltean@nxp.com>
To: netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Andrew Lunn <andrew@lunn.ch>,
	Vivien Didelot <vivien.didelot@gmail.com>,
	Florian Fainelli <f.fainelli@gmail.com>,
	Lucian Banu <Lucian.Banu@westermo.com>
Subject: [PATCH net 0/2] Fix 2 DSA issues with vlan_filtering_is_global
Date: Fri, 15 Jul 2022 18:16:57 +0300	[thread overview]
Message-ID: <20220715151659.780544-1-vladimir.oltean@nxp.com> (raw)

Hi, this patch set fixes 2 issues with vlan_filtering_is_global switches.

Both are regressions introduced by refactoring commit d0004a020bb5
("net: dsa: remove the "dsa_to_port in a loop" antipattern from the
core"), which wasn't tested on a wide enough variety of switches.

Tested on the sja1105 driver.

Vladimir Oltean (2):
  net: dsa: fix dsa_port_vlan_filtering when global
  net: dsa: fix NULL pointer dereference in
    dsa_port_reset_vlan_filtering

 net/dsa/port.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

-- 
2.34.1


             reply	other threads:[~2022-07-15 15:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-15 15:16 Vladimir Oltean [this message]
2022-07-15 15:16 ` [PATCH net 1/2] net: dsa: fix dsa_port_vlan_filtering when global Vladimir Oltean
2022-07-15 15:16 ` [PATCH net 2/2] net: dsa: fix NULL pointer dereference in dsa_port_reset_vlan_filtering Vladimir Oltean
2022-07-19  3:40 ` [PATCH net 0/2] Fix 2 DSA issues with vlan_filtering_is_global patchwork-bot+netdevbpf

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=20220715151659.780544-1-vladimir.oltean@nxp.com \
    --to=vladimir.oltean@nxp.com \
    --cc=Lucian.Banu@westermo.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=f.fainelli@gmail.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --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 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.