android_kernel_motorola_sm6375/net/sctp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Petr Malat 8094640cdf sctp: Do not wake readers in __sctp_write_space()
[ Upstream commit af295892a7abbf05a3c2ba7abc4d81bb448623d6 ]

Function __sctp_write_space() doesn't set poll key, which leads to
ep_poll_callback() waking up all waiters, not only these waiting
for the socket being writable. Set the key properly using
wake_up_interruptible_poll(), which is preferred over the sync
variant, as writers are not woken up before at least half of the
queue is available. Also, TCP does the same.

Signed-off-by: Petr Malat <oss@malat.biz>
Acked-by: Xin Long <lucien.xin@gmail.com>
Link: https://patch.msgid.link/20250516081727.1361451-1-oss@malat.biz
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-27 11:02:54 +01:00
..
associola.c net/sctp: Prevent autoclose integer overflow in sctp_association_init() 2025-01-09 13:23:37 +01:00
auth.c
bind_addr.c sctp: fail if no bound addresses can be used for a given scope 2023-02-06 07:52:46 +01:00
chunk.c
debug.c
diag.c net: annotate lockless accesses to sk->sk_max_ack_backlog 2024-11-08 16:20:46 +01:00
endpointola.c
input.c sctp: Fix null-ptr-deref in reuseport_add_sock(). 2024-08-19 05:33:46 +02:00
inqueue.c
ipv6.c
Kconfig
Makefile
objcnt.c
offload.c
output.c
outqueue.c
primitive.c
proc.c sctp: move hlist_node and hashent out of sctp_ep_common 2024-08-19 05:33:46 +02:00
protocol.c
sm_make_chunk.c
sm_sideeffect.c sctp: handle invalid error codes without calling BUG() 2023-09-23 10:59:39 +02:00
sm_statefuns.c sctp: properly validate chunk size in sctp_sf_ootb() 2024-11-17 14:58:50 +01:00
sm_statetable.c
socket.c sctp: Do not wake readers in __sctp_write_space() 2025-06-27 11:02:54 +01:00
stream.c sctp: Fix undefined behavior in left shift operation 2025-04-10 14:29:36 +02:00
stream_interleave.c sctp: fix a potential overflow in sctp_ifwdtsn_skip 2023-04-20 12:07:36 +02:00
stream_sched.c sctp: fix memory leak in sctp_stream_outq_migrate() 2022-12-08 11:23:03 +01:00
stream_sched_prio.c sctp: add a refcnt in sctp_stream_priorities to avoid a nested loop 2023-03-11 16:44:11 +01:00
stream_sched_rr.c sctp: fix memory leak in sctp_stream_outq_migrate() 2022-12-08 11:23:03 +01:00
sysctl.c sctp: sysctl: auth_enable: avoid using current->nsproxy 2025-04-10 14:29:35 +02:00
transport.c sctp: detect and prevent references to a freed transport in sendmsg 2025-05-02 07:39:16 +02:00
tsnmap.c
ulpevent.c
ulpqueue.c