mbox series

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

Message ID 20230901231129.578493-1-martin.lau@linux.dev (mailing list archive)
Headers show
Series bpf: Fixes for bpf_sk_storage | expand

Message

Martin KaFai Lau Sept. 1, 2023, 11:11 p.m. UTC
From: Martin KaFai Lau <martin.lau@kernel.org>

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

Comments

patchwork-bot+netdevbpf@kernel.org Sept. 6, 2023, 9:10 a.m. UTC | #1
Hello:

This series was applied to bpf/bpf.git (master)
by Daniel Borkmann <daniel@iogearbox.net>:

On Fri,  1 Sep 2023 16:11:26 -0700 you wrote:
> From: Martin KaFai Lau <martin.lau@kernel.org>
> 
> 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
> 
> [...]

Here is the summary with links:
  - [bpf,1/3] bpf: bpf_sk_storage: Fix invalid wait context lockdep report
    https://git.kernel.org/bpf/bpf/c/a96a44aba556
  - [bpf,2/3] bpf: bpf_sk_storage: Fix the missing uncharge in sk_omem_alloc
    https://git.kernel.org/bpf/bpf/c/55d49f750b1c
  - [bpf,3/3] selftests/bpf: Check bpf_sk_storage has uncharged sk_omem_alloc
    https://git.kernel.org/bpf/bpf/c/a96d1cfb2da0

You are awesome, thank you!