all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH v2 1/2] isisd: fix bit flag collision in options field
@ 2025-03-14  9:52 Gabriel Goller
  2025-03-14  9:52 ` [pve-devel] [PATCH v2 2/2] bump version to 10.2.1-1+pve2 Gabriel Goller
  2025-03-14 11:33 ` [pve-devel] applied-series: [PATCH v2 1/2] isisd: fix bit flag collision in options field Thomas Lamprecht
  0 siblings, 2 replies; 3+ messages in thread
From: Gabriel Goller @ 2025-03-14  9:52 UTC (permalink / raw)
  To: pve-devel; +Cc: Thomas Lamprecht

Resolve conflict between F_ISIS_UNIT_TEST and ISIS_OPT_DUMMY_AS_LOOPBACK
which were both using the same bit value (0x01). This collision caused
unit test mode to be unintentionally enabled when DUMMY_AS_LOOPBACK was set.

Link: https://github.com/FRRouting/frr/pull/18377
Fixes: ecf591e ("frr: add the dummy_as_loopback patch series, enable it by default")
Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
---
 ...d-option-to-treat-dummy-interfaces-as-loop.patch | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/debian/patches/pve/0005-fabricd-add-option-to-treat-dummy-interfaces-as-loop.patch b/debian/patches/pve/0005-fabricd-add-option-to-treat-dummy-interfaces-as-loop.patch
index 331beed378ec..1ae2874b19c2 100644
--- a/debian/patches/pve/0005-fabricd-add-option-to-treat-dummy-interfaces-as-loop.patch
+++ b/debian/patches/pve/0005-fabricd-add-option-to-treat-dummy-interfaces-as-loop.patch
@@ -18,8 +18,8 @@ Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
  isisd/isis_circuit.c         |  9 +++++----
  isisd/isis_main.c            | 16 +++++++++++++---
  isisd/isisd.c                | 19 +++++++++++++++++++
- isisd/isisd.h                |  4 ++++
- 6 files changed, 57 insertions(+), 12 deletions(-)
+ isisd/isisd.h                |  6 +++++-
+ 6 files changed, 58 insertions(+), 13 deletions(-)
 
 Index: b/doc/manpages/frr-fabricd.rst
 ===================================================================
@@ -181,15 +181,18 @@ Index: b/isisd/isisd.h
 ===================================================================
 --- a/isisd/isisd.h	2025-03-07 11:09:47.700424235 +0100
 +++ b/isisd/isisd.h	2025-03-07 11:09:47.698424233 +0100
-@@ -74,7 +74,9 @@
+@@ -74,9 +74,11 @@
  	struct list *isis;
  	/* ISIS thread master. */
  	struct event_loop *master;
 +	/* Various global options */
  	uint8_t options;
-+#define ISIS_OPT_DUMMY_AS_LOOPBACK (1 << 0)
++#define F_ISIS_UNIT_TEST	    (1 << 0)
++#define ISIS_OPT_DUMMY_AS_LOOPBACK (1 << 1)
  };
- #define F_ISIS_UNIT_TEST 0x01
+-#define F_ISIS_UNIT_TEST 0x01
+ 
+ #define ISIS_DEFAULT_MAX_AREA_ADDRESSES 3
  
 @@ -269,6 +271,8 @@
  void isis_terminate(void);
-- 
2.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [pve-devel] [PATCH v2 2/2] bump version to 10.2.1-1+pve2
  2025-03-14  9:52 [pve-devel] [PATCH v2 1/2] isisd: fix bit flag collision in options field Gabriel Goller
@ 2025-03-14  9:52 ` Gabriel Goller
  2025-03-14 11:33 ` [pve-devel] applied-series: [PATCH v2 1/2] isisd: fix bit flag collision in options field Thomas Lamprecht
  1 sibling, 0 replies; 3+ messages in thread
From: Gabriel Goller @ 2025-03-14  9:52 UTC (permalink / raw)
  To: pve-devel; +Cc: Thomas Lamprecht

This fixes the fabricd dummy_as_loopback flag introduced in an earlier
patch.

Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
---
 debian/changelog | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 6e68311132b1..ff8c9109b486 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+frr (10.2.1-1+pve3) UNRELEASED; urgency=medium
+
+  * fix collision in fabricd for the option values of the recent
+    dummy-as-loopback backport and a internal test mode, where enabling one
+    would always enable the other.
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 14 Mar 2025 10:51:18 +0100
+
 frr (10.2.1-1+pve1) bookworm; urgency=medium
 
   * update upstream source to 10.2.1
-- 
2.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [pve-devel] applied-series: [PATCH v2 1/2] isisd: fix bit flag collision in options field
  2025-03-14  9:52 [pve-devel] [PATCH v2 1/2] isisd: fix bit flag collision in options field Gabriel Goller
  2025-03-14  9:52 ` [pve-devel] [PATCH v2 2/2] bump version to 10.2.1-1+pve2 Gabriel Goller
@ 2025-03-14 11:33 ` Thomas Lamprecht
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Lamprecht @ 2025-03-14 11:33 UTC (permalink / raw)
  To: Gabriel Goller, pve-devel

On 14/03/2025 10:52, Gabriel Goller wrote:
> Resolve conflict between F_ISIS_UNIT_TEST and ISIS_OPT_DUMMY_AS_LOOPBACK
> which were both using the same bit value (0x01). This collision caused
> unit test mode to be unintentionally enabled when DUMMY_AS_LOOPBACK was set.
> 
> Link: https://github.com/FRRouting/frr/pull/18377
> Fixes: ecf591e ("frr: add the dummy_as_loopback patch series, enable it by default")
> Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
> ---
>  ...d-option-to-treat-dummy-interfaces-as-loop.patch | 13 ++++++++-----
>  1 file changed, 8 insertions(+), 5 deletions(-)
> 
>

applied both patches, thanks!


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-03-14 11:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-14  9:52 [pve-devel] [PATCH v2 1/2] isisd: fix bit flag collision in options field Gabriel Goller
2025-03-14  9:52 ` [pve-devel] [PATCH v2 2/2] bump version to 10.2.1-1+pve2 Gabriel Goller
2025-03-14 11:33 ` [pve-devel] applied-series: [PATCH v2 1/2] isisd: fix bit flag collision in options field Thomas Lamprecht

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.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal