aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorGou Hao <gouhao@uniontech.com>2024-05-26 22:57:18 +0800
committerPaolo Abeni <pabeni@redhat.com>2024-05-28 13:29:36 +0200
commitde31e96cf423848a1d541142446801430c12da3c (patch)
treefae6d3ba22b068c5db6f6bdd1e1cb588f8148691 /net/ipv4/tcp_output.c
parentc65b6521115ed478471bf8c4a3687059fcea01aa (diff)
downloadlinux-de31e96cf423848a1d541142446801430c12da3c.tar.gz
linux-de31e96cf423848a1d541142446801430c12da3c.tar.bz2
linux-de31e96cf423848a1d541142446801430c12da3c.zip
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 <gouhao@uniontech.com> Link: https://lore.kernel.org/r/20240526145718.9542-2-gouhao@uniontech.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions