From mboxrd@z Thu Jan 1 00:00:00 1970 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 6368C5A027B for ; Wed, 14 Feb 2024 10:15:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1707902153; 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=f29txpnEEHxaYGmlbeS5KfE0S6JmGzUUi73aJiZLLXk=; b=QI4/cuGKyMCwse0hGnk1It2gpQWxUH7nqm94FY8/0TobKAw9RFeQz7bMB2Wf0u7GAQBdRc uxRoGvni4FNEGII195VHqINvcPFGRO92pPbee+kyHzsJU29EqABc5oBm+MLgl6/R9YdBcp wmsiQ4oe8SfsI5bUf3ansJoLS47FD/w= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-122-A5aMoE4-MI6uDro9edET7g-1; Wed, 14 Feb 2024 04:15:51 -0500 X-MC-Unique: A5aMoE4-MI6uDro9edET7g-1 Received: by mail-ej1-f69.google.com with SMTP id a640c23a62f3a-a2bc65005feso370544966b.0 for ; Wed, 14 Feb 2024 01:15:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707902149; x=1708506949; 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=f29txpnEEHxaYGmlbeS5KfE0S6JmGzUUi73aJiZLLXk=; b=EBiBoN8lxycwvBE5Ddgc3W9m2Eh0fUkZrnJGUfC7yCyIjNVkKVF/nincjtKwI1WPqR kgvpOjMUv1yz4rGeQCix/GUbloa7LRprmH7Dd4JP5fzuxj0hocien6zYybYQLz2z/eu3 UxS9XSHeZTakVrJVS8qQ8veDK6LkBw48e6cXRmF9c/EmmQLzL977YI2SMayxiOZHu+r1 btkVpHAUW7a8ttqfFK7zkfYN1zo9e/5pL1xbtF2lGFpUUj0YYcWxjb97meq/G2XD7K+2 sTZWWrGK9pDt85nl0QUqznMcQ+URUc3EIE0VnCIPKu6AFQXO8XWrsF5Dnu8CiTGthr8z WPiw== X-Gm-Message-State: AOJu0YyVlT/siy+Nhrg6aaAvbjeXtrDW5o2ZV1v2xOZWliyefcJ5vrTE LWRSKBU+SGPfWkhVbzOIfCh7Ic8Gifx67Ud9MWtiU2A2g0wo9dRoQ9MrBG1LEIpJZWkmaVFj4dd CsHg+DohbCWiiy37s1HbgY3W2pGi9Lv2ih9n7AuZ5rd60/nreI/f/XvtBKolW X-Received: by 2002:a17:906:f0d1:b0:a3d:1771:26c6 with SMTP id dk17-20020a170906f0d100b00a3d177126c6mr1280713ejb.2.1707902149338; Wed, 14 Feb 2024 01:15:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IFEPbQPfzHICyq76v9qTaDoSbqsErMaYFoqvtugqwo2AuPe5Kwu1rHIaygDcf5wy9y/9PmJWg== X-Received: by 2002:a17:906:f0d1:b0:a3d:1771:26c6 with SMTP id dk17-20020a170906f0d100b00a3d177126c6mr1280697ejb.2.1707902148977; Wed, 14 Feb 2024 01:15:48 -0800 (PST) Received: from maya.cloud.tilaa.com (maya.cloud.tilaa.com. [164.138.29.33]) by smtp.gmail.com with ESMTPSA id bh9-20020a170906a0c900b00a3d60daaa72sm63847ejb.41.2024.02.14.01.15.48 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Feb 2024 01:15:48 -0800 (PST) Date: Wed, 14 Feb 2024 10:15:14 +0100 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH 0/2] Fix some redundant and incorrect initialisation of UDP sockets Message-ID: <20240214101514.63ada3bb@elisabeth> In-Reply-To: <20240212060658.857608-1-david@gibson.dropbear.id.au> References: <20240212060658.857608-1-david@gibson.dropbear.id.au> Organization: Red Hat X-Mailer: Claws Mail 4.1.1 (GTK 3.24.36; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: WVHPWCXKMAULTO6K66HFGFJY4QOY3SRI X-Message-ID-Hash: WVHPWCXKMAULTO6K66HFGFJY4QOY3SRI 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 Mon, 12 Feb 2024 17:06:56 +1100 David Gibson wrote: > This fixes bug 79 and makes another clean up in the same area. > > Link: https://bugs.passt.top/show_bug.cgi?id=79 > > David Gibson (2): > udp: Don't prematurely (and incorrectly) set up automatic inbound > forwards > udp: udp_sock_init_ns() partially duplicats udp_port_rebind_outbound() > > udp.c | 90 +++++++++++++++++------------------------------------------ > 1 file changed, 25 insertions(+), 65 deletions(-) Applied. -- Stefano