Skip to content

Fix reported sockmap splat

John Fastabend bpf 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2bpf: sockmap, fix introduced strparser recursive lockinclude/linux/skmsg.h net/core/skmsg.c+11 -32 replies
2/2bpf: sockmap, add test for ingress through strparsertools/testing/selftests/bpf/test_sockmap.c+12 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH bpf 0/2] Fix reported sockmap splat

Fix regression introduced in sockmap for the case with strparser and verdict and returning SK_PASS verdict on a skb. We did not have a test for this case so we add it here as well.

Todo is to finalize porting all tests into normal CI coverage to make it easier to audit and run tests. That will go through bpf-next though.

John Fastabend (2):
bpf: sockmap, fix introduced strparser recursive lock
bpf: sockmap, add test for ingress through strparser

 include/linux/skmsg.h                      |  9 +++++++--
 net/core/skmsg.c                           |  5 ++++-
 tools/testing/selftests/bpf/test_sockmap.c | 13 ++++++++++++-
 3 files changed, 23 insertions(+), 4 deletions(-)
Signature · 1 line
2.33.0