From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=none 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=V6p/upzK; 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 ESMTP id 3EC985A004E for ; Tue, 10 Dec 2024 15:50:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1733842222; 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=VmZibRpni6W9vMjyWsC69FK2eSO+crgV0jwXB1f/mMQ=; b=V6p/upzKvH4nwOFzOcONLYhU8cTf81SP6m6j8DRyqOvzZxDno95kDSw543PfIdYdqMG4ae GMZ+sttKFMwUcb4fbiVLhPDzrNesGTPNWJcM2qyyIMDZhWgpcUvzRRfvKcQnzzU7RrBrH1 l8jaBusbKpUp0KiCskLFaj50G0WJgLo= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-396-18JxYYKFNsSzuVk6HU23hw-1; Tue, 10 Dec 2024 09:37:00 -0500 X-MC-Unique: 18JxYYKFNsSzuVk6HU23hw-1 X-Mimecast-MFC-AGG-ID: 18JxYYKFNsSzuVk6HU23hw Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-385f0829430so3869808f8f.1 for ; Tue, 10 Dec 2024 06:37:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733841419; x=1734446219; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=VmZibRpni6W9vMjyWsC69FK2eSO+crgV0jwXB1f/mMQ=; b=E5ZGsUCQyblTr8qD/59CB7vty4pWPy5ifWKBLW8bSJdTR2/d/dHzECaNX8gelclwve MH0DWozpPfr3dr13E/LwS6OECwKf873322n0hpPszZxyG/WA5m/ZYu3oWR27fpsA1VHZ ru4vEI0MqF3L5L/fvw76/FjUYfnUeTiXD2jXrfCBoRNprJa/heXNbhBk+6MtnTagTR3q UsNfJS9aD0l5O8nHdlHV0EBMYOOKwIMupNj+44/zI6ap/4oZG2mjjRoCpA/btZHUPqtW S6BF81kU1TbOyKqqjWvp5ZuUAKS7KzUwIkLs9uNywtyEW2vdWqUPFkYJ2yuDwNERb0sK HlqA== X-Gm-Message-State: AOJu0YzvW4yARJIhAd18UvkohZ6R+VvnfhZuQOLxPjfgc1zNHDlvwZJ/ JAIi+QCN3ph08iOAGcRaT4FEp9kROFTIw1CwAQwKG/7vHKkuM7OOMl3qWv22hkTKHrNb3REHItK jFwbeoR9M2x+KNG0MH0jUK6iMuNASFm0JEaFMI7Gk8RqB1BVp9g== X-Gm-Gg: ASbGnctlxWfsc3J70NzK7m3mJ+i271pyY7c3A6/K0jDu/sA5RD2CSVZuR0N+hwQj6NT Srz6N9uz5a9Nw4xQZxLEzn6Xc8vJ8j/F53BURQ9Y45yhPfh0H95DevmCxMaHNKEyKj2GR8Eeqjg WZW5iderJ4Jssw8lUmpO3sFk/+3sKiERzuEmKk0qkNRi6Z/2Wfd4Kc5SUWQlfTXl0H1am9NiHej 0ksKLs9yMAZU418kVXhYmBvk6luLsyJgQGa0+X9wOFUpAe1BIRQ+Z7sERYWPhQIGorJx2Fcvc1M qDoykTE= X-Received: by 2002:a5d:47c9:0:b0:382:4b9a:f51f with SMTP id ffacd0b85a97d-386453f95a9mr4772764f8f.47.1733841419483; Tue, 10 Dec 2024 06:36:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IF3KGqFw4nlpU1fzDeaCcfDbQGfKlVGxTLwBEFVFfMe0SW7ggiUsxqSq65a90N0gwfY9ZImMQ== X-Received: by 2002:a5d:47c9:0:b0:382:4b9a:f51f with SMTP id ffacd0b85a97d-386453f95a9mr4772735f8f.47.1733841419148; Tue, 10 Dec 2024 06:36:59 -0800 (PST) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [176.103.220.4]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38621909644sm16321341f8f.76.2024.12.10.06.36.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 06:36:58 -0800 (PST) Date: Tue, 10 Dec 2024 15:36:57 +0100 From: Stefano Brivio To: Laurent Vivier Subject: Re: [PATCH 1/2] tap: Use a common function to start a new connection Message-ID: <20241210153657.5249c77c@elisabeth> In-Reply-To: <20241209165450.2314060-1-lvivier@redhat.com> References: <20241209165450.2314060-1-lvivier@redhat.com> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: 2xmid57b7gGSxvBmGs-6MYX1LLx_RX7l02DlhiLjNOg_1733841420 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: 4HOLRMEWT5KNAXEXSLMUX2VFLD6ZCP4V X-Message-ID-Hash: 4HOLRMEWT5KNAXEXSLMUX2VFLD6ZCP4V 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, 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: [Sorry for the previous "dummy" reply] On Mon, 9 Dec 2024 17:54:49 +0100 Laurent Vivier wrote: > Merge code from tap_backend_init(), tap_sock_tun_init() and > tap_listen_handler() to set epoll_ref entry and to add it > to epollfd. > > No functionality change > > Signed-off-by: Laurent Vivier > --- > tap.c | 66 +++++++++++++++++++++++++++-------------------------------- > 1 file changed, 30 insertions(+), 36 deletions(-) Applied. -- Stefano