linux-yocto/net/sctp
Petr Malat 51b7cfc6c7 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:07:33 +01:00
..
associola.c net/sctp: Prevent autoclose integer overflow in sctp_association_init() 2025-01-09 13:30:06 +01:00
auth.c
bind_addr.c
chunk.c
debug.c
diag.c
endpointola.c
input.c
inqueue.c net: sctp: fix skb leak in sctp_inq_free() 2024-08-29 17:30:20 +02:00
ipv6.c
Kconfig
Makefile
objcnt.c
offload.c
output.c
outqueue.c
primitive.c
proc.c
protocol.c ipv4: Drop tos parameter from flowi4_update_output() 2025-05-18 08:21:21 +02:00
sm_make_chunk.c
sm_sideeffect.c
sm_statefuns.c sctp: properly validate chunk size in sctp_sf_ootb() 2024-11-14 13:15:11 +01:00
sm_statetable.c
socket.c sctp: Do not wake readers in __sctp_write_space() 2025-06-27 11:07:33 +01:00
stream_interleave.c
stream_sched_prio.c
stream_sched_rr.c
stream_sched.c
stream.c sctp: Fix undefined behavior in left shift operation 2025-03-28 21:58:52 +01:00
sysctl.c sctp: add mutual exclusion in proc_sctp_do_udp_port() 2025-05-22 14:10:09 +02:00
transport.c sctp: detect and prevent references to a freed transport in sendmsg 2025-04-25 10:43:43 +02:00
tsnmap.c
ulpevent.c
ulpqueue.c