public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/3] Fail gracefully on too many open files
@ 2023-03-08 12:33 Stefano Brivio
  2023-03-08 12:33 ` [PATCH 1/3] tcp, udp, util: Pass socket creation errors all the way up Stefano Brivio
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Stefano Brivio @ 2023-03-08 12:33 UTC (permalink / raw)
  To: passt-dev

If we can't bind a few ports out of a port specifier, fine, we don't
want to bother the user with that.

But running out of files on '-t all' or similar is something
different: patch 3/3 fixes this, 1/3 and 2/3 are preparation steps.

Stefano Brivio (3):
  tcp, udp, util: Pass socket creation errors all the way up
  tcp, udp: Fix partial success return codes in {tcp,udp}_sock_init()
  conf: Terminate on EMFILE or ENFILE on sockets for port mapping

 conf.c | 36 +++++++++++++++++++++++++++++-------
 tcp.c  | 29 ++++++++++++++---------------
 udp.c  | 44 +++++++++++++++++++++-----------------------
 util.c | 31 ++++++++++++++++++-------------
 4 files changed, 82 insertions(+), 58 deletions(-)

-- 
2.39.2


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

end of thread, other threads:[~2023-03-08 22:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-08 12:33 [PATCH 0/3] Fail gracefully on too many open files Stefano Brivio
2023-03-08 12:33 ` [PATCH 1/3] tcp, udp, util: Pass socket creation errors all the way up Stefano Brivio
2023-03-08 22:16   ` David Gibson
2023-03-08 12:33 ` [PATCH 2/3] tcp, udp: Fix partial success return codes in {tcp,udp}_sock_init() Stefano Brivio
2023-03-08 22:43   ` David Gibson
2023-03-08 12:33 ` [PATCH 3/3] conf: Terminate on EMFILE or ENFILE on sockets for port mapping Stefano Brivio
2023-03-08 22:45   ` 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).