diff options
| author | Martin KaFai Lau <martin.lau@kernel.org> | 2023-03-22 14:52:45 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2023-03-25 19:52:52 -0700 |
| commit | d8db84d71c0e539f7ce902e2fe297e535ba4d46c (patch) | |
| tree | 4320619cce1a6f62d8a5e09ed2f4c31b4846c775 /kernel/bpf/memalloc.c | |
| parent | 6ae9d5e99e1dd26babdd9502759fa25a3fd348ad (diff) | |
| download | linux-d8db84d71c0e539f7ce902e2fe297e535ba4d46c.tar.gz linux-d8db84d71c0e539f7ce902e2fe297e535ba4d46c.tar.bz2 linux-d8db84d71c0e539f7ce902e2fe297e535ba4d46c.zip | |
selftests/bpf: Test task storage when local_storage->smap is NULL
The current sk storage test ensures the memory free works when
the local_storage->smap is NULL.
This patch adds a task storage test to ensure the memory free
code path works when local_storage->smap is NULL.
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://lore.kernel.org/r/20230322215246.1675516-5-martin.lau@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/memalloc.c')
0 files changed, 0 insertions, 0 deletions
