public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/2] Fix bugs in tcp_splice_sock_handler()
@ 2025-04-09  6:35 David Gibson
  2025-04-09  6:35 ` [PATCH 1/2] tcp_splice: Don't double could bytes read on EINTR David Gibson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Gibson @ 2025-04-09  6:35 UTC (permalink / raw)
  To: Stefano Brivio, passt-dev; +Cc: David Gibson

Patch 1/2 here fixes what I think is the bug causing the latest issue
in:
    https://github.com/containers/podman/issues/23686

While fixing that I spotted the bug fixed in 2/2.  Definitely a bug,
although I suspect we'll mostly get away with it if the --trace option
is not enabled.

David Gibson (2):
  tcp_splice: Don't double could bytes read on EINTR
  tcp_splice: Don't clobber errno before checking for EAGAIN

 tcp_splice.c | 43 ++++++++++++++++++++++---------------------
 1 file changed, 22 insertions(+), 21 deletions(-)

-- 
2.49.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-04-09 22:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-09  6:35 [PATCH 0/2] Fix bugs in tcp_splice_sock_handler() David Gibson
2025-04-09  6:35 ` [PATCH 1/2] tcp_splice: Don't double could bytes read on EINTR David Gibson
2025-04-09  6:35 ` [PATCH 2/2] tcp_splice: Don't clobber errno before checking for EAGAIN David Gibson
2025-04-09 22:41 ` [PATCH 0/2] Fix bugs in tcp_splice_sock_handler() Stefano Brivio

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).