[PATCH bpf 0/3] bpf: Fixes for bpf_sk_storage

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

 



From: Martin KaFai Lau <martin.lau@xxxxxxxxxx>

This set has two fixes for bpf_sk_storage. Please see the individual
patch for details.

Martin KaFai Lau (3):
  bpf: bpf_sk_storage: Fix invalid wait context lockdep report
  bpf: bpf_sk_storage: Fix the missing uncharge in sk_omem_alloc
  selftests/bpf: Check bpf_sk_storage has uncharged sk_omem_alloc

 kernel/bpf/bpf_local_storage.c                | 49 +++++----------
 .../bpf/prog_tests/sk_storage_omem_uncharge.c | 56 +++++++++++++++++
 .../selftests/bpf/progs/bpf_tracing_net.h     |  1 +
 .../bpf/progs/sk_storage_omem_uncharge.c      | 61 +++++++++++++++++++
 4 files changed, 133 insertions(+), 34 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/prog_tests/sk_storage_omem_uncharge.c
 create mode 100644 tools/testing/selftests/bpf/progs/sk_storage_omem_uncharge.c

-- 
2.34.1





[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