mbox series

[bpf,0/2] Fix reported sockmap splat

Message ID 20240625201632.49024-1-john.fastabend@gmail.com (mailing list archive)
Headers show
Series Fix reported sockmap splat | expand

Message

John Fastabend June 25, 2024, 8:16 p.m. UTC
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(-)