Thread (8 messages) 8 messages, 4 authors, 5d ago

Re: [PATCH bpf-next v4 2/2] selftests/bpf: drop tc/xdp/flow_dissector/socket_filter sockmap mutation tests

From: John Fastabend <john.fastabend@gmail.com>
Date: 2026-07-01 00:10:28
Also in: bpf, linux-kselftest, lkml

On Tue, Jun 30, 2026 at 02:54:06PM +0000, Sechang Lim wrote:
tc, xdp, socket_filter and flow_dissector programs can no longer update
or delete a sockmap. Adjust the tests:

- verifier_sockmap_mutate: the tc, xdp, socket_filter and
  flow_dissector cases now expect __failure with "cannot update sockmap
  in this context".
- sockmap_basic: drop "sockmap update" / "sockhash update", which load
  a SEC("tc") program that copies a sock between maps.
- fexit_bpf2bpf: drop "func_sockmap_update", whose freplace program
  updates a sockmap in the tc cls_redirect context.

Remove the now-unused test_sockmap_update.c and freplace_cls_redirect.c.

Signed-off-by: Sechang Lim <redacted>
Reviewed-by: John Fastabend <john.fastabend@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help