summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorAvi Weiss <thnkslprpt@gmail.com>2026-10-31 11:59:23 +0200
committerChristian Brauner <brauner@kernel.org>2026-11-06 14:31:32 +0100
commit8eaa35c6c29ae669949f4b5b0814c3d34c8ed658 (patch)
tree0dfb66af13a8b84334c4a32238ca87cabcf3f75a /include/linux/workqueue.h
parentac4b449b39e605123c12ea10042cafc9b6f39603 (diff)
splice, net: avoid MSG_MORE when the bvec array fills
splice_to_socket() leaves tail at the last included pipe buffer when its 16-entry bvec array fills. If the requested length exceeds the available pipe data, pipe_occupancy() counts that buffer again and sets MSG_MORE even though the pipe is empty. Small TCP transfers can then be delayed until the cork timeout expires. Advance tail before checking the array limit so the occupancy test counts only pipe buffers that have not been included in the send. Fixes: ca2d49f77ce4 ("splice, net: Fix splice_to_socket() to handle pipe bufs larger than a page") Cc: stable@vger.kernel.org Signed-off-by: Avi Weiss <thnkslprpt@gmail.com> Link: https://patch.msgid.link/20261031095922.3577591-2-thnkslprpt@gmail.com Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions