public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/2] Improved exit()/_exit() handling
@ 2025-12-10  5:15 David Gibson
  2025-12-10  5:15 ` [PATCH 1/2] treewide: Introduce passt_exit() helper David Gibson
  2025-12-10  5:15 ` [PATCH 2/2] pasta: Clean up waiting pasta child on failures David Gibson
  0 siblings, 2 replies; 9+ messages in thread
From: David Gibson @ 2025-12-10  5:15 UTC (permalink / raw)
  To: Stefano Brivio, passt-dev; +Cc: David Gibson

As discussed on IRC, while working on the forwarding extensions, I
discovered that failures at certain points of initialisation (in
particular tcp_init() or udp_init() can result in a zombie pasta child
process.

Here's a fix.

David Gibson (2):
  treewide: Introduce passt_exit() helper
  pasta: Clean up waiting pasta child on failures

 conf.c       | 11 ++++-------
 log.h        |  9 +++++++--
 passt.c      |  6 +++---
 pasta.c      | 12 ++++++------
 pasta.h      |  1 +
 tap.c        |  6 ++----
 util.c       | 29 +++++++++++++++++++++++------
 util.h       |  1 -
 vhost_user.c |  4 ++--
 9 files changed, 48 insertions(+), 31 deletions(-)

-- 
2.52.0


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

end of thread, other threads:[~2025-12-12  2:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-10  5:15 [PATCH 0/2] Improved exit()/_exit() handling David Gibson
2025-12-10  5:15 ` [PATCH 1/2] treewide: Introduce passt_exit() helper David Gibson
2025-12-10 16:18   ` Stefano Brivio
2025-12-10 23:32     ` David Gibson
2025-12-10  5:15 ` [PATCH 2/2] pasta: Clean up waiting pasta child on failures David Gibson
2025-12-10 12:05   ` Paul Holzinger
2025-12-10 23:45     ` David Gibson
2025-12-11 13:49       ` Paul Holzinger
2025-12-12  2:32         ` David Gibson

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).