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=HuMlL7pk; dkim-atps=neutral Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 8EE8C5A9C3A for ; Wed, 05 Mar 2025 07:20:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202502; t=1741155605; bh=Q71TtyhFpGkHeBTEe9PqCrJqh5cU0QkQW7QLk4fgcp8=; h=From:To:Cc:Subject:Date:From; b=HuMlL7pkZ5/ELiOh6ge2iYDGQ544atmIir1YSqDIUqlSz+1eqYSY5PJHGJiEOTnmi wMHF1nyVjF4JZzIipCEwPIfFU35shv03aKqRybW3VI4T04xbnFL9xlFi7tRPn6nQgt 2XgcPdnH5iezw5O6fYiSTR33IAOy9KkgNs4qtpVC5d3i/c8063GspDkD7YPk0Z6KY9 MSXSvQiB5w3K0CRt2oA99KeSxVj/3eA7JYjwHIrT6D/McZSWJNRT0okAlCJs/Y/bxF Ty0AGeueX4cm4oIrjI5pDRqocnhK8BhGBkY3MQRsJv9JasTq9wECoID3T1RoOmpRNu OM/EzklXaQpcQ== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4Z72Td1QJjz4wcy; Wed, 5 Mar 2025 17:20:05 +1100 (AEDT) From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH v4 0/1] Improve validation of --mtu option Date: Wed, 5 Mar 2025 17:20:02 +1100 Message-ID: <20250305062003.1700831-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: 4NCWSE6VCS7HJ6MAOANMBVKHOCTMBTUH X-Message-ID-Hash: 4NCWSE6VCS7HJ6MAOANMBVKHOCTMBTUH 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 v3: * None, just verified rebase and reposted. 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