From: patchwork-bot+netdevbpf@kernel.org
To: Kuniyuki Iwashima <kuniyu@amazon.com>
Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com, roopa@nvidia.com, razor@blackwall.org,
ebiederm@xmission.com, hcoin@quietfountain.com,
kuni1840@gmail.com, netdev@vger.kernel.org
Subject: Re: [PATCH v2 net 0/4] net: Support STP on bridge in non-root netns.
Date: Thu, 20 Jul 2023 08:50:21 +0000 [thread overview]
Message-ID: <168984302136.20786.4393470788080951518.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20230718174152.57408-1-kuniyu@amazon.com>
Hello:
This series was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Tue, 18 Jul 2023 10:41:48 -0700 you wrote:
> Currently, STP does not work in non-root netns as llc_rcv() drops
> packets from non-root netns.
>
> This series fixes it by making some protocol handlers netns-aware,
> which are called from llc_rcv() as follows:
>
> llc_rcv()
> |
> |- sap->rcv_func : registered by llc_sap_open()
> |
> | * functions : regsitered by register_8022_client()
> | -> No in-kernel user call register_8022_client()
> |
> | * snap_rcv()
> | |
> | `- proto->rcvfunc() : registered by register_snap_client()
> |
> | * aarp_rcv() : drop packets from non-root netns
> | * atalk_rcv() : drop packets from non-root netns
> |
> | * stp_pdu_rcv()
> | |
> | `- garp_protos[]->rcv() : registered by stp_proto_register()
> |
> | * garp_pdu_rcv() : netns-aware
> | * br_stp_rcv() : netns-aware
> |
> |- llc_type_handlers[llc_pdu_type(skb) - 1]
> |
> | * llc_sap_handler() : NOT netns-aware (Patch 1)
> | * llc_conn_handler() : NOT netns-aware (Patch 2)
> |
> `- llc_station_handler
>
> [...]
Here is the summary with links:
- [v2,net,1/4] llc: Check netns in llc_dgram_match().
https://git.kernel.org/netdev/net/c/9b64e93e83c2
- [v2,net,2/4] llc: Check netns in llc_estab_match() and llc_listener_match().
https://git.kernel.org/netdev/net/c/97b1d320f48c
- [v2,net,3/4] llc: Don't drop packet from non-root netns.
https://git.kernel.org/netdev/net/c/6631463b6e66
- [v2,net,4/4] Revert "bridge: Add extack warning when enabling STP in netns."
https://git.kernel.org/netdev/net/c/7ebd00a5a20c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2023-07-20 8:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-18 17:41 [PATCH v2 net 0/4] net: Support STP on bridge in non-root netns Kuniyuki Iwashima
2023-07-18 17:41 ` [PATCH v2 net 1/4] llc: Check netns in llc_dgram_match() Kuniyuki Iwashima
2023-07-18 17:41 ` [PATCH v2 net 2/4] llc: Check netns in llc_estab_match() and llc_listener_match() Kuniyuki Iwashima
2023-07-18 17:41 ` [PATCH v2 net 3/4] llc: Don't drop packet from non-root netns Kuniyuki Iwashima
2023-07-18 17:41 ` [PATCH v2 net 4/4] Revert "bridge: Add extack warning when enabling STP in netns." Kuniyuki Iwashima
2023-07-20 8:50 ` patchwork-bot+netdevbpf [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=168984302136.20786.4393470788080951518.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=davem@davemloft.net \
--cc=ebiederm@xmission.com \
--cc=edumazet@google.com \
--cc=hcoin@quietfountain.com \
--cc=kuba@kernel.org \
--cc=kuni1840@gmail.com \
--cc=kuniyu@amazon.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=razor@blackwall.org \
--cc=roopa@nvidia.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;
as well as URLs for NNTP newsgroup(s).