From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id 606431FF0AF for ; Fri, 06 Nov 2026 18:16:05 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 0A31B21536; Fri, 06 Nov 2026 18:16:02 +0100 (CET) From: Gabriel Goller Date: Fri, 06 Nov 2026 18:15:51 +0100 Subject: [PATCH ifupdown2 v2 2/2] vxlan: match IPv6 peers when reading the fdb MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261106-fix_8299_only-v2-2-19b90284c405@proxmox.com> References: <20261106-fix_8299_only-v2-0-19b90284c405@proxmox.com> In-Reply-To: <20261106-fix_8299_only-v2-0-19b90284c405@proxmox.com> To: pve-devel@lists.proxmox.com X-Mailer: b4 0.17-dev X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1793985357416 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.238 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: 4P25MTINQII4OZITOYZO72U4WUVVIQ6Y X-Message-ID-Hash: 4P25MTINQII4OZITOYZO72U4WUVVIQ6Y X-MailFrom: g.goller@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Otherwise removed IPv6 vxlan-remoteip entries are never deleted from the fdb. Signed-off-by: Gabriel Goller --- ...lan-match-IPv6-peers-when-reading-the-fdb.patch | 27 ++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 28 insertions(+) diff --git a/debian/patches/pve/0019-vxlan-match-IPv6-peers-when-reading-the-fdb.patch b/debian/patches/pve/0019-vxlan-match-IPv6-peers-when-reading-the-fdb.patch new file mode 100644 index 000000000000..f47b4e302adc --- /dev/null +++ b/debian/patches/pve/0019-vxlan-match-IPv6-peers-when-reading-the-fdb.patch @@ -0,0 +1,27 @@ +From 61a0c6be30aaa8a0c74d35fbd9ffd03ea9bdfb82 Mon Sep 17 00:00:00 2001 +From: Gabriel Goller +Date: Fri, 6 Nov 2026 17:59:42 +0100 +Subject: [PATCH] vxlan: match IPv6 peers when reading the fdb + +get_vxlan_peers only matched IPv4 addresses after dst, so IPv6 remotes +were never found in the fdb and removed IPv6 vxlan-remoteip entries +were never deleted. + +Signed-off-by: Gabriel Goller +--- + ifupdown2/lib/iproute2.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/ifupdown2/lib/iproute2.py b/ifupdown2/lib/iproute2.py +index 9d5573b64603..9d0e719925a0 100644 +--- a/ifupdown2/lib/iproute2.py ++++ b/ifupdown2/lib/iproute2.py +@@ -62,7 +62,7 @@ except Exception: + class IPRoute2(Cache, Requirements): + + VXLAN_UDP_PORT = 4789 +- VXLAN_PEER_REGEX_PATTERN = re.compile(r"\s+dst\s+(\d+.\d+.\d+.\d+)\s+") ++ VXLAN_PEER_REGEX_PATTERN = re.compile(r"\s+dst\s+(\S+)\s+") + + def __init__(self): + Cache.__init__(self) diff --git a/debian/patches/series b/debian/patches/series index 023e8e36374d..48bb4adae7f5 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -22,3 +22,4 @@ upstream/0005-bond-tolerate-unavailable-slaves-during-setup.patch pve/0016-addons-bond-skip-mac-check-for-bonds-without-slaves.patch pve/0017-addons-vxlan-don-t-fail-syntax-check-on-missing-vxla.patch pve/0018-addons-vxlan-add-vxlan-gbp-attribute.patch +pve/0019-vxlan-match-IPv6-peers-when-reading-the-fdb.patch -- 2.47.3