[PATCH net-next] sctp: Remove unused declaration sctp_backlog_migrate()

Subsystems: networking [general], sctp protocol, the rest

STALE1161d LANDED

Landed in mainline as afa2420cff54 on 2023-08-11.

3 messages, 3 authors, 2023-08-11 · open the first message on its own page

[PATCH net-next] sctp: Remove unused declaration sctp_backlog_migrate()

From: Yue Haibing <hidden>
Date: 2023-08-09 14:23:27

Commit 61c9fed41638 ("[SCTP]: A better solution to fix the race between sctp_peeloff()
and sctp_rcv().") removed the implementation but left declaration in place. Remove it.

Signed-off-by: Yue Haibing <redacted>
---
 include/net/sctp/sctp.h | 2 --
 1 file changed, 2 deletions(-)
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h
index 2a67100b2a17..a2310fa995f6 100644
--- a/include/net/sctp/sctp.h
+++ b/include/net/sctp/sctp.h
@@ -148,8 +148,6 @@ void sctp_icmp_redirect(struct sock *, struct sctp_transport *,
 void sctp_icmp_proto_unreachable(struct sock *sk,
 				 struct sctp_association *asoc,
 				 struct sctp_transport *t);
-void sctp_backlog_migrate(struct sctp_association *assoc,
-			  struct sock *oldsk, struct sock *newsk);
 int sctp_transport_hashtable_init(void);
 void sctp_transport_hashtable_destroy(void);
 int sctp_hash_transport(struct sctp_transport *t);
-- 
2.34.1

Re: [PATCH net-next] sctp: Remove unused declaration sctp_backlog_migrate()

From: Xin Long <lucien.xin@gmail.com>
Date: 2023-08-09 16:52:41

On Wed, Aug 9, 2023 at 10:23 AM Yue Haibing [off-list ref] wrote:
quoted hunk
Commit 61c9fed41638 ("[SCTP]: A better solution to fix the race between sctp_peeloff()
and sctp_rcv().") removed the implementation but left declaration in place. Remove it.

Signed-off-by: Yue Haibing <redacted>
---
 include/net/sctp/sctp.h | 2 --
 1 file changed, 2 deletions(-)
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h
index 2a67100b2a17..a2310fa995f6 100644
--- a/include/net/sctp/sctp.h
+++ b/include/net/sctp/sctp.h
@@ -148,8 +148,6 @@ void sctp_icmp_redirect(struct sock *, struct sctp_transport *,
 void sctp_icmp_proto_unreachable(struct sock *sk,
                                 struct sctp_association *asoc,
                                 struct sctp_transport *t);
-void sctp_backlog_migrate(struct sctp_association *assoc,
-                         struct sock *oldsk, struct sock *newsk);
 int sctp_transport_hashtable_init(void);
 void sctp_transport_hashtable_destroy(void);
 int sctp_hash_transport(struct sctp_transport *t);
--
2.34.1
Acked-by: Xin Long <lucien.xin@gmail.com>

Re: [PATCH net-next] sctp: Remove unused declaration sctp_backlog_migrate()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2023-08-11 02:40:22

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

On Wed, 9 Aug 2023 22:23:23 +0800 you wrote:
Commit 61c9fed41638 ("[SCTP]: A better solution to fix the race between sctp_peeloff()
and sctp_rcv().") removed the implementation but left declaration in place. Remove it.

Signed-off-by: Yue Haibing <redacted>
---
 include/net/sctp/sctp.h | 2 --
 1 file changed, 2 deletions(-)
Here is the summary with links:
  - [net-next] sctp: Remove unused declaration sctp_backlog_migrate()
    https://git.kernel.org/netdev/net-next/c/afa2420cff54

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help