[PATCH bpf v2 0/3] two bug fixes for sockmap

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

 



From: Xu Kuohai <xukuohai@xxxxxxxxxx>

Two bug fixes and a test case for sockmap.

v2:
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 (3):
  bpf, sockmap: Fix map type error in sock_map_del_link
  bpf, sockmap: Fix bug that strp_done cannot be called
  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 | 77 +++++++++++++++++++
 .../selftests/bpf/progs/test_sockmap_listen.c | 14 ++++
 5 files changed, 105 insertions(+), 7 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