From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=D4diKlJL; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTPS id 47B8E5A004E for ; Wed, 14 Jan 2026 01:08:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1768349289; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Cw5ab4AP3zee6PgqGgX4stXtlGCm56yVpWiAD2PadJw=; b=D4diKlJLCFhFWf4/jlVDWbg51Hu0wsJIG+zOjOO8xKkZpW2HVW4GK790H6hlKhS5/7Yexn 5aGnPp6cOGi3cnJDQ99HSfVDjGOQZ38FUiaUxNMqtHDYrXqD9Qxz/YrJDmh0kNKKHaJYWm o2h1NPvCOZTF/6ISfHny10Z+/2psBCY= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-96-GtPaj7GdMPqp_ySaT3QawA-1; Tue, 13 Jan 2026 19:08:02 -0500 X-MC-Unique: GtPaj7GdMPqp_ySaT3QawA-1 X-Mimecast-MFC-AGG-ID: GtPaj7GdMPqp_ySaT3QawA_1768349282 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-47ee056e5cfso4551605e9.1 for ; Tue, 13 Jan 2026 16:08:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768349281; x=1768954081; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Cw5ab4AP3zee6PgqGgX4stXtlGCm56yVpWiAD2PadJw=; b=dRcIBcU60u70b25smkvJJveEyepF7aaYUixxhuKilTK+oWitiCOGr9REFiNNhi+znN xkUFcSrp1LNcszhib8D7QV4Kvprls50NVtChxXlgPUskZzp+Quna8mu+w8WsLRLzgkRX Kpf/KoqktC2hzNtNLVymJpl/f32oN3GBukhzba5G4HoXBpQlEea332gdWOCwmLQKUdZw epm8ihamxnRzqxTIxGfwaRT0QFWWMNHs4DuLxRRTd/lAamqkgI8m4YnxgjMvG1OXSt9W o67UbJJqY+iB8+jnfgCrK4NRx6cDt3YsMOFFDaI6Of52bswTmPiaFraPCFQdBiQFz8vZ bA1g== X-Gm-Message-State: AOJu0YwTqzG8KoYbkNt5gh/fSG4W9GYANW3WPsTwwckR+a1Mt3Da93Je luUdQ6F7HfM+lV/wPaBPxsgDq9+4Qdu6nRICsMWwTnMkReTxBNzZsQBg2PujNf34fCvFTJsI7zY 2sTvIS8M13oZCPrO+6smfJWIVsCmiDWC4mmB7Ozu+bHYCwb+i9bqGBA== X-Gm-Gg: AY/fxX4YdJa7bYEJxsl+IwTY3NgoatCNk+tYzMR38o6+XKRmJrfHoQx8zFOzlEIa+Kd JQK7JwbJQgBshtkr3fHDooPtla6emECfKsjiSlummuzs04aby15WQoqbOcXv+CFZ1iWR28uCRVk zH+G6l/F86TaMxdqfVKONzs+KTiyzuZFEq7EiIro+FRygtDwmAmuRwyaLX1tzOoVtWNPdYM7iwF W+Fr3FenxXFKQMDfs8DZimYhHjudvHjWpdHlIWRgyqFzhyugFjlBYMUueHo2xY8MeJAUsOYdUMw Cz6pr3XqJ7PDnOcwHccQmEI0rto4t6LVb38qZyfGcMEXGyYQQrupSp+KZ3aZZ/xmiEnazVWyrsN 6T6hIY3sQJLsSbcJ7HPSJnPPRFWKXUUIITPMIcQ== X-Received: by 2002:a05:600c:37cd:b0:477:9dc1:b706 with SMTP id 5b1f17b1804b1-47ee4819eabmr2530915e9.19.1768349281570; Tue, 13 Jan 2026 16:08:01 -0800 (PST) X-Received: by 2002:a05:600c:37cd:b0:477:9dc1:b706 with SMTP id 5b1f17b1804b1-47ee4819eabmr2530785e9.19.1768349281087; Tue, 13 Jan 2026 16:08:01 -0800 (PST) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [176.103.220.4]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47ee54b6fc4sm358585e9.3.2026.01.13.16.08.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jan 2026 16:08:00 -0800 (PST) Date: Wed, 14 Jan 2026 01:07:58 +0100 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH v2 0/2] Allow listen functions to return fds Message-ID: <20260114010758.5b518455@elisabeth> In-Reply-To: <20260113030614.29309-1-david@gibson.dropbear.id.au> References: <20260113030614.29309-1-david@gibson.dropbear.id.au> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.49; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: NuEjuazp_arwc5il_QRaQkaSd45x4sMPfithBcmskEs_1768349282 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: 3QELW6Z2MVMKRZVJRNCAHV54FSBB6IWG X-Message-ID-Hash: 3QELW6Z2MVMKRZVJRNCAHV54FSBB6IWG X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Tue, 13 Jan 2026 14:06:12 +1100 David Gibson wrote: > For future forwarding changes, it makes more sense for the tcp and udp > listen functions to return socket fds, rather than just success / > failure. Make the change, fixing bug 186 along the way. > > Link: https://bugs.passt.top/show_bug.cgi?id=186 > > Changes in v2: > * Fix several typos in comments and commit messages > * Drop the --no-bindtodevice option, I was convinced it wasn't useful > enough > * Change from -EACCES to -EAFNOSUPPORT error code Applied. -- Stefano