diff options
| author | Geliang Tang <[email protected]> | 2024-04-09 05:18:40 +0000 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2024-04-11 17:29:25 +0000 |
| commit | d75142dbeb2bd1587b9cc19f841578f541275a64 (patch) | |
| tree | 5590ecccac81480f8d3ec256d7d554e2055f30b5 /tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c | |
| parent | selftests/bpf: Enable tests for atomics with cpuv4 (diff) | |
| download | kernel-d75142dbeb2bd1587b9cc19f841578f541275a64.tar.gz kernel-d75142dbeb2bd1587b9cc19f841578f541275a64.zip | |
selftests/bpf: Fix umount cgroup2 error in test_sockmap
This patch fixes the following "umount cgroup2" error in test_sockmap.c:
(cgroup_helpers.c:353: errno: Device or resource busy) umount cgroup2
Cgroup fd cg_fd should be closed before cleanup_cgroup_environment().
Fixes: 13a5f3ffd202 ("bpf: Selftests, sockmap test prog run without setting cgroup")
Signed-off-by: Geliang Tang <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/r/0399983bde729708773416b8488bac2cd5e022b8.1712639568.git.tanggeliang@kylinos.cn
Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c')
0 files changed, 0 insertions, 0 deletions
