[PATCH bpf v3 0/4] bug fixes for sockmap

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

 



From: Xu Kuohai <xukuohai@xxxxxxxxxx>

bug fixes and a new test case for sockmap.

v3:
fix bpf ci failure

v2: https://lore.kernel.org/bpf/20230803064838.108784-1-xukuohai@xxxxxxxxxxxxxxx
add a test case

v1:
https://lore.kernel.org/bpf/20230728105649.3978774-1-xukuohai@xxxxxxxxxxxxxxx
https://lore.kernel.org/bpf/20230728105717.3978849-1-xukuohai@xxxxxxxxxxxxxxx

Xu Kuohai (4):
  bpf, sockmap: Fix map type error in sock_map_del_link
  bpf, sockmap: Fix bug that strp_done cannot be called
  selftests/bpf: fix a CI failure caused by vsock sockmap test
  selftests/bpf: Add sockmap test for redirecting partial skb data

 include/linux/skmsg.h                         |  1 +
 net/core/skmsg.c                              | 10 ++-
 net/core/sock_map.c                           | 10 +--
 .../selftests/bpf/prog_tests/sockmap_listen.c | 74 ++++++++++++++++++-
 .../selftests/bpf/progs/test_sockmap_listen.c | 14 ++++
 5 files changed, 101 insertions(+), 8 deletions(-)

-- 
2.30.2





[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