Thread View: linux.kernel.netdev
3 messages
3 total messages
Started by Jakub Kicinski
Thu, 08 Oct 2026 00:00
Re: [PATCH net-next v6] tcp: add BPF kfuncs to set per-socket ECN mode and AccECN option
Author: Jakub Kicinski
Date: Thu, 08 Oct 2026 00:00
Date: Thu, 08 Oct 2026 00:00
13 lines
6337 bytes
6337 bytes
On Thu, 1 Oct 2026 18:57:59 +0530 Irlanki Sandeep wrote: > Suggested-by: Jakub Kicinski <kuba@kernel.org> This needs an ACK from TCP maintainers. If you respin please make sure to drop this tag, this tag is for cases where someone suggested sending the patch as a whole. Not for changes requested during normal course of review. There was a false positive from sparse regarding the use of kfunc, I kicked off the AI review manually, please check the results here in an hour or so: https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261001132759.1076145-1-irlanki.s@samsung.com
RE: [PATCH net-next v6] tcp: add BPF kfuncs to set per-socket ECN mode and AccECN option
Author: "Irlanki Sandeep"
Date: Wed, 14 Oct 2026 07:49
Date: Wed, 14 Oct 2026 07:49
44 lines
9613 bytes
9613 bytes
On Wed, 7 Oct 2026 17:00:28 -0700, Jakub Kicinski <kuba@kernel.org> wrote: > On Thu, 1 Oct 2026 18:57:59 +0530 Irlanki Sandeep wrote: > > Suggested-by: Jakub Kicinski <kuba@kernel.org> > > This needs an ACK from TCP maintainers. If you respin please make sure > to drop this tag, this tag is for cases where someone suggested sending > the patch as a whole. Not for changes requested during normal course of > review. Understood, thanks for clarifying the tag semantics. I will drop the Suggested-by tag in v7 if a respin is needed. > There was a false positive from sparse regarding the use of kfunc, > I kicked off the AI review manually, please check the results here > in an hour or so: > https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261001132759.1076145-1 -irlanki.s@samsung.com Thanks for triggering the manual AI review. The results show 0 Critical, 0 High, 1 Medium, and 1 Low: 1. [Medium] SYN arrival race before LISTEN_CB completes: The review identifies that inet_csk_listen_start() hashes the socket before tcp_call_bpf(BPF_SOCK_OPS_TCP_LISTEN_CB) runs. A SYN arriving on another CPU in this window will see ecn_mode as UNSPEC and fall back to the sysctl. This is a preexisting limitation affecting any BPF_SOCK_OPS_TCP_LISTEN_CB program that configures listener behavior, not specific to this patch. I will document this fallback behavior in the kernel-doc and commit message for v7. 2. [Low] Selftest scope (API validation vs. packet inspection): The selftest validates the kfunc API layer: argument validation, return codes, verifier safety (sk_is_tcp() guard), and struct field mutation/inheritance. It does not include packet-level inspection. This is comparable in scope to progs/setget_sockopt.c, which similarly tests bpf_setsockopt/bpf_getsockopt round-trips without packet-level wire verification. Awaiting feedback from Eric and the TCP maintainers. Thanks, Sandeep
Re: [PATCH net-next v6] tcp: add BPF kfuncs to set per-socket ECN mode and AccECN option
Author: Jakub Kicinski
Date: Thu, 15 Oct 2026 20:14
Date: Thu, 15 Oct 2026 20:14
7 lines
6138 bytes
6138 bytes
On Wed, 14 Oct 2026 13:19:31 +0530 Irlanki Sandeep wrote: > Awaiting feedback from Eric and the TCP maintainers. No luck, and 2 weeks is the patch retention in patchwork.kernel.org Please repost v7 with the minor tweaks.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads