OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35f563d
)
sctp: Remove unused declaration sctp_backlog_migrate()
author
Yue Haibing
<yuehaibing@huawei.com>
Wed, 9 Aug 2023 14:23:23 +0000
(22:23 +0800)
committer
Jakub Kicinski
<kuba@kernel.org>
Fri, 11 Aug 2023 02:31:52 +0000
(19:31 -0700)
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>
Acked-by: Xin Long <lucien.xin@gmail.com>
Link:
https://lore.kernel.org/r/20230809142323.9428-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/sctp/sctp.h
patch
|
blob
|
history
diff --git
a/include/net/sctp/sctp.h
b/include/net/sctp/sctp.h
index
2a67100
..
a2310fa
100644
(file)
--- 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);