public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/4] Assorted minor socket creation cleanups
@ 2026-06-09  6:30 David Gibson
  2026-06-09  6:30 ` [PATCH 1/4] flow: Correct misleading signature of flowside_sock_l4() David Gibson
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: David Gibson @ 2026-06-09  6:30 UTC (permalink / raw)
  To: Stefano Brivio, passt-dev; +Cc: David Gibson

As discussed on our recent call, I was looking again at bug 167.  I
discovered it's still fairly fiddly to address this, but while
investigating spotted a number of cleanups to make in the vicinity.  I
think they make sense even without fixing bug 167 (yet), so here they
are.

David Gibson (4):
  flow: Correct misleading signature of flowside_sock_l4()
  Makefile: Remove unused DUAL_STACK_SOCKETS define
  fwd, pif: Remove duplicated logic between tcp_listen() and
    udp_listen()
  pif, util: Move listen(2) call from sock_l4_() to pif_listen()

 Makefile |  5 -----
 flow.c   | 11 +++++------
 fwd.c    |  8 +-------
 pif.c    | 45 ++++++++++++++++++++++++++++++++++++---------
 pif.h    |  2 +-
 tcp.c    | 38 --------------------------------------
 tcp.h    |  2 --
 udp.c    | 38 --------------------------------------
 udp.h    |  2 --
 util.c   |  7 -------
 10 files changed, 43 insertions(+), 115 deletions(-)

-- 
2.54.0


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

end of thread, other threads:[~2026-06-09  6:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-09  6:30 [PATCH 0/4] Assorted minor socket creation cleanups David Gibson
2026-06-09  6:30 ` [PATCH 1/4] flow: Correct misleading signature of flowside_sock_l4() David Gibson
2026-06-09  6:30 ` [PATCH 2/4] Makefile: Remove unused DUAL_STACK_SOCKETS define David Gibson
2026-06-09  6:30 ` [PATCH 3/4] fwd, pif: Remove duplicated logic between tcp_listen() and udp_listen() David Gibson
2026-06-09  6:30 ` [PATCH 4/4] pif, util: Move listen(2) call from sock_l4_() to pif_listen() 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).