From: David Yang <mmyangfl@gmail.com>
To: netdev@vger.kernel.org
Cc: David Yang <mmyangfl@gmail.com>, Andrew Lunn <andrew@lunn.ch>,
Vladimir Oltean <olteanv@gmail.com>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>
Subject: [PATCH net-next v2 0/5] net: dsa: motorcomm: Reject isolated redirect targets
Date: Sun, 29 Nov 2026 19:55:47 +0800 [thread overview]
Message-ID: <20261129115556.1669188-1-mmyangfl@gmail.com> (raw)
Port isolation takes after REDIR judgment, but software delivers such
frames. Reject such offloading and handle bridge changes.
Although triggered on YT9215S, target to net-next for low severity and
major refactor.
v2:
- recompute redirect rules on bridge changes
- reject bridge flags that break redirect rules
v1: https://lore.kernel.org/r/20261127142732.1337041-1-mmyangfl@gmail.com
David Yang (5):
net: dsa: motorcomm: Remove local cpu_ports_mask
net: dsa: motorcomm: Cache port isolation masks
net: dsa: motorcomm: Reject isolated redirect targets
net: dsa: motorcomm: Recompute redirect rules on bridge changes
net: dsa: motorcomm: Reject bridge flags that break redirect rules
drivers/net/dsa/motorcomm/chip.c | 93 +++++++++++++++++++++---
drivers/net/dsa/motorcomm/chip.h | 5 +-
drivers/net/dsa/motorcomm/tc.c | 120 ++++++++++++++++++++++++++++---
drivers/net/dsa/motorcomm/tc.h | 8 ++-
4 files changed, 204 insertions(+), 22 deletions(-)
--
2.53.0
next reply other threads:[~2026-11-29 11:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 11:55 David Yang [this message]
2026-11-29 11:55 ` [PATCH net-next v2 1/5] net: dsa: motorcomm: Remove local cpu_ports_mask David Yang
2026-11-29 11:55 ` [PATCH net-next v2 2/5] net: dsa: motorcomm: Cache port isolation masks David Yang
2026-11-29 11:55 ` [PATCH net-next v2 3/5] net: dsa: motorcomm: Reject isolated redirect targets David Yang
2026-11-29 11:55 ` [PATCH net-next v2 4/5] net: dsa: motorcomm: Recompute redirect rules on bridge changes David Yang
2026-11-29 11:55 ` [PATCH net-next v2 5/5] net: dsa: motorcomm: Reject bridge flags that break redirect rules David Yang
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=20261129115556.1669188-1-mmyangfl@gmail.com \
--to=mmyangfl@gmail.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.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