From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: passt.top; dkim=pass (2048-bit key; secure) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202502 header.b=ipODUeRU; dkim-atps=neutral Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 664B95A0008 for ; Fri, 21 Feb 2025 07:13:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202502; t=1740105305; bh=jbwVoSTbS+oZKMna6KqEgZKXB73ySyAIYcZR6LrUzL4=; h=From:To:Cc:Subject:Date:From; b=ipODUeRUoS+q2+liZX8Z7IjdM6xnZxNXdU5ga7KziwWa24DGYINP5b63QKbNRkU7w gYL+93qtPAem8lGNwESJ8ob47CIzYCQMPp5IbNGuU5uimTaMpjxM0cZHYSBcJy8N9Q q/1FYTyHhVeOB9bj95MIIfgUE7RQL9drSDWZla/O+3SykBKgV4kH9zZv9iv4KfZXJE v8VVCNnt087qAE5bNipD4z5U6lq1HiB9nAPriZxXpnSqxaTzEflS968NUpPgD3IbT5 ej7ePkVdGrWyXVFGujpAumcFzqPssQPCJywvbH5v1IbM6HBDdl/X7yubVpzydmaHUl hmTBGF3OjNUQg== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4YzZ3Y5LKCz4wyl; Fri, 21 Feb 2025 13:35:05 +1100 (AEDT) From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH v3 0/1] Improve validation of --mtu option Date: Fri, 21 Feb 2025 13:35:02 +1100 Message-ID: <20250221023503.2170668-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.48.1 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 7J3J5ROIVNM2WIHEXUJQXAYFFC5PXVRZ X-Message-ID-Hash: 7J3J5ROIVNM2WIHEXUJQXAYFFC5PXVRZ 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: Here are some of the more straightforward parts of my patches making various MTU related fixes. These ones improve how we validate the --mtu option. Changes since v2: * Don't disable a protocol because the MTU is too small, just warn. It's only an advertised MTU, not an enforced MTU David Gibson (1): conf: Be more precise about minimum MTUs conf.c | 18 +++++++++++++++--- ip.h | 7 +++++++ util.h | 6 ------ 3 files changed, 22 insertions(+), 9 deletions(-) -- 2.48.1