[PATCH bpf 0/2] Fix reported sockmap splat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux