From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 264905A0274 for ; Mon, 7 Aug 2023 08:02:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=201602; t=1691388117; bh=PK3lpdlJTMnhxKZAflnUNmq2JQjVAABPSyQByt+fv/8=; h=From:To:Cc:Subject:Date:From; b=gNMKdiqcrx/vx+XKtLnIDcTy2SLscFN7L7RytAlM0oREfbYhtzWAvTufJxlwF5WWK Xt8qf22lvxfh0DV6lv58WxmQI0k8SDz/VO7P7EVSzfVmOEdm0aQkl5chWEB4/Zwni3 QD42fAvU0TJhjbuqzXNzR0wYbP8bIkiNIX+dhUUo= Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4RK5LY6YfZz4wxV; Mon, 7 Aug 2023 16:01:57 +1000 (AEST) From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH v2 0/4] Clean up reset of tap connections Date: Mon, 7 Aug 2023 16:01:51 +1000 Message-ID: <20230807060155.271388-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.41.0 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 2OIEEK4A6K5YHGCHJ4ZOK5KLFB2BK6XE X-Message-ID-Hash: 2OIEEK4A6K5YHGCHJ4ZOK5KLFB2BK6XE X-MailFrom: dgibson@gandalf.ozlabs.org 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: David Gibson 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: I ran into some mildly confusing stuff in the tap reset path while working on the epoll rework. Here are some fixes for it. Changes since v1: * Two extra patches that further clean up the reset path David Gibson (4): tap: Clean up tap reset path tap: More sensible behaviour for error on listening qemu socket tap: Fold reset handling into tap_handler_pasta() tap: Fold reset handling into tap_handler_passt() tap.c | 94 ++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 51 insertions(+), 43 deletions(-) -- 2.41.0