diff options
author | Gou Hao <[email protected]> | 2024-05-26 22:57:18 +0800 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-05-28 13:29:36 +0200 |
commit | de31e96cf423848a1d541142446801430c12da3c (patch) | |
tree | fae6d3ba22b068c5db6f6bdd1e1cb588f8148691 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | c65b6521115ed478471bf8c4a3687059fcea01aa (diff) |
net/core: move the lockdep-init of sk_callback_lock to sk_init_common()
In commit cdfbabfb2f0c ("net: Work around lockdep limitation in
sockets that use sockets"), it introduces 'af_kern_callback_keys'
to lockdep-init of sk_callback_lock according to 'sk_kern_sock',
it modifies sock_init_data() only, and sk_clone_lock() calls
sk_init_common() to initialize sk_callback_lock too, so the
lockdep-init of sk_callback_lock should be moved to sk_init_common().
Signed-off-by: Gou Hao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions