[PATCH bpf 0/2] Fix reported sockmap splat

John Fastabend
2024-06-25T20:16:34Z

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(-)

--
2.33.0