Skip to content

Commit 2885112

Browse files
authored
Merge pull request #1502 from kernelkit/upgrade-frr
Upgrade FRR to 10.5.4 Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2 parents 689bd64 + 48a1df4 commit 2885112

8 files changed

Lines changed: 21 additions & 10 deletions

doc/ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ All notable changes to the project are documented in this file.
99
### Changes
1010

1111
- Upgrade Linux kernel to 6.18.31 (LTS)
12+
- Upgrade FRR to 10.5.4
1213

1314
### Fixes
1415

@@ -17,6 +18,7 @@ All notable changes to the project are documented in this file.
1718
- Handle unclean daemon exits better, e.g., `dbus-daemon` crashing and
1819
leaving a stale pidfile behind, causing it to refuse to be restarted
1920
- Fix occasional blank or garbled `[ OK ]` lines at startup
21+
- Disallow multicast MAC addresses in custom MAC address configuration
2022

2123
[v26.04.0][] - 2026-04-30
2224
-------------------------

patches/frr/10.5.3/0001-Libyang4-compat.patch renamed to patches/frr/10.5.4/0001-Libyang4-compat.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 39ebf709e91a89f59e14ac1d1179df170448d09a Mon Sep 17 00:00:00 2001
1+
From 72ad44e1e215cded7c8bf3209203b5d1b32e179d Mon Sep 17 00:00:00 2001
22
From: =?UTF-8?q?Mattias=20Walstr=C3=B6m?= <lazzer@gmail.com>
33
Date: Tue, 27 Jan 2026 22:54:59 +0100
44
Subject: [PATCH 1/3] Libyang4 compat

patches/frr/10.5.3/0002-Failed-without-c-23-this-adds-compatibility-layer.patch renamed to patches/frr/10.5.4/0002-Failed-without-c-23-this-adds-compatibility-layer.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 6f7ff746c4016ea6e6d81c7abad088f5a86f8fbf Mon Sep 17 00:00:00 2001
1+
From 80634c421c695b191c54d94feda6fb6c32c17eb4 Mon Sep 17 00:00:00 2001
22
From: =?UTF-8?q?Mattias=20Walstr=C3=B6m?= <lazzer@gmail.com>
33
Date: Fri, 30 Jan 2026 13:00:12 +0100
44
Subject: [PATCH 2/3] Failed without c++ 23, this adds compatibility layer
@@ -67,10 +67,10 @@ index 97c7460079..8fe8b10c05 100644
6767
#define zassert assert
6868

6969
diff --git a/lib/zlog.c b/lib/zlog.c
70-
index 157f3323cb..7e7b6f0c25 100644
70+
index eb9b1c236b..b1d23a08d9 100644
7171
--- a/lib/zlog.c
7272
+++ b/lib/zlog.c
73-
@@ -789,6 +789,51 @@ void _zlog_assert_failed(const struct xref_assert *xref, const char *extra, ...)
73+
@@ -792,6 +792,51 @@ void _zlog_assert_failed(const struct xref_assert *xref, const char *extra, ...)
7474
abort();
7575
}
7676

patches/frr/10.5.3/0003-zebra-don-t-resolve-nexthop-via-inactive-connected-r.patch renamed to patches/frr/10.5.4/0003-zebra-don-t-resolve-nexthop-via-inactive-connected-r.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 868d13c0982a0633e4144d03776358837d92cd8b Mon Sep 17 00:00:00 2001
1+
From 939a6bd1c38f8fe37236696a862c659b8fa96b07 Mon Sep 17 00:00:00 2001
22
From: Joachim Wiberg <troglobit@gmail.com>
33
Date: Sun, 22 Feb 2026 10:22:06 +0100
44
Subject: [PATCH 3/3] zebra: don't resolve nexthop via inactive connected route

src/confd/yang/confd.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ MODULES=(
4747
"ieee802-ethernet-interface@2019-06-21.yang"
4848
"infix-ethernet-interface@2024-02-27.yang"
4949
"infix-factory-default@2023-06-28.yang"
50-
"infix-interfaces@2026-04-29.yang -e vlan-filtering"
50+
"infix-interfaces@2026-05-13.yang -e vlan-filtering"
5151
"ietf-crypto-types -e cleartext-symmetric-keys"
5252
"infix-crypto-types@2026-02-14.yang"
5353
"ietf-keystore -e symmetric-keys"

src/confd/yang/confd/infix-interfaces.yang

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ module infix-interfaces {
4141
contact "kernelkit@googlegroups.com";
4242
description "Linux bridge and lag extensions for ietf-interfaces.";
4343

44+
revision 2026-05-13 {
45+
description "Add limitations on custom mac addresses on interfaces, now needs to be a correct unicast mac-address";
46+
reference "internal";
47+
}
48+
4449
revision 2026-04-29 {
4550
description "Add operational state for multicast router ports per bridge.";
4651
reference "internal";
@@ -235,8 +240,12 @@ module infix-interfaces {
235240

236241
case static {
237242
leaf static {
238-
description "Statically configured interface address on protocol sub-layer, e.g., MAC.";
239-
type yang:phys-address;
243+
description "Statically configured unicast MAC address.";
244+
type yang:mac-address {
245+
pattern '[0-9a-fA-F][02468aAcCeE]:[0-9a-fA-F]{2}:[0-9a-fA-F]{2}:[0-9a-fA-F]{2}:[0-9a-fA-F]{2}:[0-9a-fA-F]{2}' {
246+
error-message "Must be a unicast MAC address (multicast bit must not be set).";
247+
}
248+
}
240249
}
241250
}
242251

@@ -247,7 +256,7 @@ module infix-interfaces {
247256

248257
leaf offset {
249258
description "Static offset added to the chassis MAC address.";
250-
type yang:phys-address;
259+
type yang:mac-address;
251260
}
252261
}
253262
}
File renamed without changes.

0 commit comments

Comments
 (0)