From: Ahmad Wicaksono <supersonix03@gmail.com>
To: bpf@vger.kernel.org
Cc: jakub@cloudflare.com, mhal@rbox.co, ast@kernel.org,
daniel@iogearbox.net, andrii@kernel.org, eddyz87@gmail.com,
memxor@gmail.com, martin.lau@linux.dev, song@kernel.org,
yonghong.song@linux.dev, jolsa@kernel.org, emil@etsalapatis.com,
ihor.solodrai@linux.dev, corbet@lwn.net,
skhan@linuxfoundation.org, rdunlap@infradead.org,
davem@davemloft.net, kuba@kernel.org, hawk@kernel.org,
john.fastabend@gmail.com, sdf@fomichev.me,
linux-doc@vger.kernel.org, netdev@vger.kernel.org,
Ahmad Wicaksono <supersonix03@gmail.com>
Subject: [PATCH bpf-next v2 0/2] Documentation/bpf: Fix stale references in map docs
Date: Mon, 23 Nov 2026 22:51:58 +0700 [thread overview]
Message-ID: <20261123155200.16676-1-supersonix03@gmail.com> (raw)
Two documentation fixes for the BPF map pages.
Patch 1 records which program types may still mutate a sockmap or
sockhash: tracing programs attached to the sockmap iterator, sock_ops
(delete only), sk_reuseport and sk_lookup. Anything else is rejected
with "cannot update sockmap in this context". The kernel-side sections
of map_sockmap.rst did not mention this. It also drops the reference to
progs/test_sockmap_update.c, removed by
commit 5de7a6eaed89 ("selftests/bpf: Drop
tc/xdp/flow_dissector/socket_filter sockmap mutation tests").
Patch 2 fixes two moved selftests paths: test_lpm_map.c, now
map_tests/lpm_trie_map_basic_ops.c, and test_xdp_noinline.c, now under
progs/.
Documentation only; no functional change.
Changes in v2:
- Patch 1: narrow the note to the sockmap iterator, after
commit 18f6c47d1097 ("bpf, sockmap: Restrict iter-context sockmap
updates to iter/sockmap") (Alexei)
- Rebased onto bpf-next, which now has the bpf tree merged in
- Kept Jakub's Reviewed-by tags, as Alexei asked
- Link to v1: https://lore.kernel.org/bpf/20261114170117.196552-1-supersonix03@gmail.com/
Ahmad Wicaksono (2):
Documentation/bpf: Update sockmap docs for mutation restrictions
Documentation/bpf: Fix stale selftests file references
Documentation/bpf/btf.rst | 2 +-
Documentation/bpf/map_lpm_trie.rst | 6 +++---
Documentation/bpf/map_sockmap.rst | 18 ++++++++++++++++--
3 files changed, 20 insertions(+), 6 deletions(-)
checkpatch.pl --strict is clean. make SPHINXDIRS=bpf htmldocs gives
identical warnings before and after. Documentation only, so nothing to
run-test.
base-commit: 2bf3351c5f894697e8443eeef5333d4c4ce90cab
--
2.43.0
next reply other threads:[~2026-11-23 15:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 15:51 Ahmad Wicaksono [this message]
2026-11-23 15:51 ` [PATCH bpf-next v2 1/2] Documentation/bpf: Update sockmap docs for mutation restrictions Ahmad Wicaksono
2026-11-23 15:52 ` [PATCH bpf-next v2 2/2] Documentation/bpf: Fix stale selftests file references Ahmad Wicaksono
2026-11-24 3:30 ` [PATCH bpf-next v2 0/2] Documentation/bpf: Fix stale references in map docs 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=20261123155200.16676-1-supersonix03@gmail.com \
--to=supersonix03@gmail.com \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=corbet@lwn.net \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=eddyz87@gmail.com \
--cc=emil@etsalapatis.com \
--cc=hawk@kernel.org \
--cc=ihor.solodrai@linux.dev \
--cc=jakub@cloudflare.com \
--cc=john.fastabend@gmail.com \
--cc=jolsa@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=martin.lau@linux.dev \
--cc=memxor@gmail.com \
--cc=mhal@rbox.co \
--cc=netdev@vger.kernel.org \
--cc=rdunlap@infradead.org \
--cc=sdf@fomichev.me \
--cc=skhan@linuxfoundation.org \
--cc=song@kernel.org \
--cc=yonghong.song@linux.dev \
/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.