* [PATCH net-next] sctp: Remove unused declaration sctp_backlog_migrate()
@ 2023-08-09 14:23 Yue Haibing
2023-08-09 16:51 ` Xin Long
2023-08-11 2:40 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Yue Haibing @ 2023-08-09 14:23 UTC (permalink / raw)
To: marcelo.leitner, lucien.xin, davem, edumazet, kuba, pabeni
Cc: linux-sctp, netdev, yuehaibing
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 <yuehaibing@huawei.com>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] sctp: Remove unused declaration sctp_backlog_migrate()
2023-08-09 14:23 [PATCH net-next] sctp: Remove unused declaration sctp_backlog_migrate() Yue Haibing
@ 2023-08-09 16:51 ` Xin Long
2023-08-11 2:40 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Xin Long @ 2023-08-09 16:51 UTC (permalink / raw)
To: Yue Haibing
Cc: marcelo.leitner, davem, edumazet, kuba, pabeni, linux-sctp,
netdev
On Wed, Aug 9, 2023 at 10:23 AM Yue Haibing <yuehaibing@huawei.com> 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 <yuehaibing@huawei.com>
> ---
> 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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] sctp: Remove unused declaration sctp_backlog_migrate()
2023-08-09 14:23 [PATCH net-next] sctp: Remove unused declaration sctp_backlog_migrate() Yue Haibing
2023-08-09 16:51 ` Xin Long
@ 2023-08-11 2:40 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-08-11 2:40 UTC (permalink / raw)
To: Yue Haibing
Cc: marcelo.leitner, lucien.xin, davem, edumazet, kuba, pabeni,
linux-sctp, netdev
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
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 <yuehaibing@huawei.com>
> ---
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-11 2:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-09 14:23 [PATCH net-next] sctp: Remove unused declaration sctp_backlog_migrate() Yue Haibing
2023-08-09 16:51 ` Xin Long
2023-08-11 2:40 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).