diff options
author | 2025-05-16 10:17:28 +0200 | |
---|---|---|
committer | 2025-05-20 18:10:40 -0700 | |
commit | af295892a7abbf05a3c2ba7abc4d81bb448623d6 (patch) | |
tree | da016202401c14e7fec0e6c69351d7d7483a6a04 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: phy: realtek: add RTL8127-internal PHY (diff) | |
download | wireguard-linux-af295892a7abbf05a3c2ba7abc4d81bb448623d6.tar.xz wireguard-linux-af295892a7abbf05a3c2ba7abc4d81bb448623d6.zip |
sctp: Do not wake readers in __sctp_write_space()
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions