From: Gabriel Goller <g.goller@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH ifupdown2 v2 2/2] vxlan: match IPv6 peers when reading the fdb
Date: Fri, 06 Nov 2026 18:15:51 +0100 [thread overview]
Message-ID: <20261106-fix_8299_only-v2-2-19b90284c405@proxmox.com> (raw)
In-Reply-To: <20261106-fix_8299_only-v2-0-19b90284c405@proxmox.com>
Otherwise removed IPv6 vxlan-remoteip entries are never deleted from
the fdb.
Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
---
...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 <g.goller@proxmox.com>
+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 <g.goller@proxmox.com>
+---
+ 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
next prev parent reply other threads:[~2026-11-06 17:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-06 17:15 [PATCH ifupdown2 v2 0/2] ifupdown2 vxlan fixes Gabriel Goller
2026-11-06 17:15 ` [PATCH ifupdown2 v2 1/2] fix #8299: only recreate vxlan and vlan devices on reload if required Gabriel Goller
2026-11-06 17:15 ` Gabriel Goller [this message]
2026-11-06 17:18 ` [PATCH ifupdown2 v2 2/2] vxlan: match IPv6 peers when reading the fdb Gabriel Goller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261106-fix_8299_only-v2-2-19b90284c405@proxmox.com \
--to=g.goller@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.