]> Gentwo Git Trees - linux/.git/commit
sctp: Remove sctp_copy_sock() and sctp_copy_descendant().
authorKuniyuki Iwashima <kuniyu@google.com>
Thu, 23 Oct 2025 23:16:57 +0000 (23:16 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 28 Oct 2025 01:04:59 +0000 (18:04 -0700)
commit71068e2e1b6bd78f5599e5bc89e125a75149884b
tree5c53bd212f6a30160c8871238a8d094f121b9ab6
parentb7ddb55f31279f4e59acde3395fc03c3d94b6e5f
sctp: Remove sctp_copy_sock() and sctp_copy_descendant().

Now, sctp_accept() and sctp_do_peeloff() use sk_clone(), and
we no longer need sctp_copy_sock() and sctp_copy_descendant().

Let's remove them.

Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Acked-by: Xin Long <lucien.xin@gmail.com>
Link: https://patch.msgid.link/20251023231751.4168390-9-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/inet_sock.h
include/net/sctp/sctp.h
net/sctp/socket.c