diff options
| author | Kuniyuki Iwashima <kuniyu@google.com> | 2025-10-23 23:16:53 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-10-27 18:04:57 -0700 |
| commit | 151b98d10ef7c3174465e409b99d8762e7e8de60 (patch) | |
| tree | f6510eab756cae61ea6886ef44ad07864fa1b3fb /net/ipv4 | |
| parent | b7185792f80a0069aa4eab87cb4263a1fb611a4e (diff) | |
net: Add sk_clone().
sctp_accept() will use sk_clone_lock(), but it will be called
with the parent socket locked, and sctp_migrate() acquires the
child lock later.
Let's add no lock version of sk_clone_lock().
Note that lockdep complains if we simply use bh_lock_sock_nested().
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Xin Long <lucien.xin@gmail.com>
Link: https://patch.msgid.link/20251023231751.4168390-5-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions