linux-yocto/net/sctp
Petr Malat ec7d08ad9a sctp: Do not wake readers in __sctp_write_space()
[ Upstream commit af295892a7 ]

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:11:29 +01:00
..
associola.c net/sctp: Prevent autoclose integer overflow in sctp_association_init() 2025-01-09 13:33:51 +01:00
auth.c
bind_addr.c
chunk.c
debug.c
diag.c
endpointola.c
input.c sctp: Fix null-ptr-deref in reuseport_add_sock(). 2024-08-02 16:25:06 -07:00
inqueue.c
ipv6.c sctp: fix possible UAF in sctp_v6_available() 2024-11-09 09:15:04 -08:00
Kconfig
Makefile
objcnt.c
offload.c
output.c
outqueue.c
primitive.c
proc.c
protocol.c sctp: Unmask upper DSCP bits in sctp_v4_get_dst() 2024-09-09 14:14:53 +01:00
sm_make_chunk.c
sm_sideeffect.c
sm_statefuns.c sctp: properly validate chunk size in sctp_sf_ootb() 2024-11-03 11:03:23 -08:00
sm_statetable.c
socket.c sctp: Do not wake readers in __sctp_write_space() 2025-06-27 11:11:29 +01:00
stream_interleave.c
stream_sched_fc.c
stream_sched_prio.c
stream_sched_rr.c
stream_sched.c
stream.c sctp: Fix undefined behavior in left shift operation 2025-03-22 12:54:19 -07:00
sysctl.c sctp: add mutual exclusion in proc_sctp_do_udp_port() 2025-04-10 14:39:34 +02:00
transport.c sctp: detect and prevent references to a freed transport in sendmsg 2025-04-20 10:15:50 +02:00
tsnmap.c
ulpevent.c
ulpqueue.c