summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/global_data_init.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2024-11-08 11:40:16 -0800
committerAndrii Nakryiko <andrii@kernel.org>2024-11-11 08:18:43 -0800
commit266a557981ab3b0a8f292e9a5bdcd242424ff458 (patch)
treecf7f2072ebf35aa8175ba275776068439022afee /tools/testing/selftests/bpf/prog_tests/global_data_init.c
parent269e7c97cac8e19117518056e9f4bd3a1dfe9362 (diff)
parentcb55657c7fc800b722f2ef0afaf4d9c3c8902e6d (diff)
Merge branch 'fix-lockdep-warning-for-htab-of-map'
Hou Tao says: ==================== The patch set fixes a lockdep warning for htab of map. The warning is found when running test_maps. The warning occurs when htab_put_fd_value() attempts to acquire map_idr_lock to free the map id of the inner map while already holding the bucket lock (raw_spinlock_t). The fix moves the invocation of free_htab_elem() after htab_unlock_bucket() and adds a test case to verify the solution. ==================== Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/global_data_init.c')
0 files changed, 0 insertions, 0 deletions