From 41662e93dbbeb28b9be24dffc9404087279b218b Mon Sep 17 00:00:00 2001 From: Gyorgy Sarvari Date: Sat, 11 Oct 2025 22:26:42 +0200 Subject: [PATCH] frr: upgrade 10.3 -> 10.4.1 Drop the "datacenter" PACKAGECONFIG, because it became obsolete: "The --enable-datacenter compile time option is deprecated. Please modify the init script to pass -F datacenter to the daemons instead." Note: grpc PACKAGECONFIG seems to be broken (it was broken in the previous version also). At the first sight it looks that the application's Makefile enforces c++11 standard, but abseil (which is a dependency of grpc) requires at least c++17. Changelog: 10.4.1: - bgpd: initialize local variable - ospfd: Use after free cleanup of lsa - vtysh: copy config from file should actually apply - Revert PR #18358: BGP evpn testing and bug fixes related to non default EVPN backbone - topotests: improve embedded RP test reliability - lib, zebra: mark singleton nexthops inactive/active on link state changes for wecmp - bgpd: LL next-hop capabilty fixes - eigrp: validate hello packets and tlvs better - bgpd: Fix compilation error in bgpd module: Update TP_ARGS for bgp - bgpd: Ensure addpath does not withdraw selected route in some situations - bgpd: [GR] fixed selectionDeferralTimer to display select_defer_time val - bgpd: LL next-hop capabilty fixes (round 2) - lib: compute link-state zapi message size - zebra: Fix buffer overflows found by fuzzing. 10.4: - BGP BFD Strict-Mode - BGP Link-Local Next Hop Capability [draft-ietf-idr-linklocal-capability] - BGP Transparent mode - BGP Next Hop Dependent Characteristics Attribute [draft-ietf-idr-entropy-label] - IGMP and MLD group/source limits - PIM dense and sparse-dense mode support [RFC3973] - IGMPv2/MLDv1 immediate leave - v4-via-v6 nexthop support for static routes - Timeout for vtysh - Discover PREF64 in Router Advertisements [RFC8781] 10.3.2: - bgpd: correct no form commands - bgpd: fix to show exist/non-exist-map in 'show run' properly - redhat: make FRR RPM build to work on RedHat 10 - build: check for libunwind.h, not unwind.h - bgpd: use AS4B format for BGP loc-rib messages. - bgpd: fix for the validity and the presence of prefixes in the BGP VPN table. - bgpd: Force adj-rib-out updates if MRAI is kicked in - zebra: Provide SID value when sending SRv6 SID release notify message - bgpd: Fix crash when fetching statistics for bgp instance - nhrpd: fix crash when accessing invalid memory zone - zebra: Initialize RB tree for router tables - zebra: fix null pointer dereference in zebra_evpn_sync_neigh_del - zebra: fix stale NHG in kernel - bgpd: Fix incorrect stripping of transitive extended communities - lib: Fix no on-match goto NUM command - bgpd: Fix extended community check for IP non-transitive type - bgpd: Fix DEREF_OF_NULL.EX.COND in bgp_updgrp_packet - lib: revert addition of vtysh_flush() call in vty_out() - bgpd: Extract link bandwidth value from extcommunity before using for WCMP - Use ipv4 class E addresses (240.0.0.0/4) as connected routes by default - bfdd: Set bfd.LocalDiag when transitioning to AdminDown - zebra: clean up a json object leak - bgpd: Do not try to reuse freed route-maps - lib: fix routemap crash - bgpd: initialize local variable - ospfd: Use after free cleanup of lsa - vtysh: copy config from file should actually apply - bgpd : Fix compilation error in bgpd module: Update TP_ARGS for bgp - bgpd: Ensure addpath does not withdraw selected route in some situations - lib, zebra: mark singleton nexthops inactive/active on link state changes for wecmp - eigrp: validate hello packets and tlvs better - bgpd: [GR] fixed selectionDeferralTimer to display select_defer_time val 10.3.1: - Check valid babel port - Fix incorrect type assignment in parse_request_subtlv - Fix `set evpn gateway-ip ipv[46]` route-map - Fix bmp heap use after free on non connected session - Fix evpn attributes being dropped on input - Fix holdtime not working properly when busy - Fix leaked memory when showing some bgp routes - Fixed crash upon bgp network import-check command - On shutdown free up memory leak found by topotest - Prevent crash when issuing a show rpki connections - Remove unused defines from bgp_label.h - Retain the routes if we do a clear with n-bit set for graceful-restart - Set the label for mp_unreach_nlri 0x800000 instead of 0x000000 - Treat the peer as not active due to bfd down only if established - Fix incorrect bestpath reasoning in some situations - Fix show bgp vpn rd json - Add total path count for bgp net in json output - Fix import all adj-rib-in and loc-rib after bmp connects - On shutdown prefix/access list memory was being leaked - Fix srv6_sid memory leak - Free up leaked prefix-list memory on shutdown - Create vrf if needed - Return duplicate ipv6 prefix-list entry test - Return duplicate prefix-list entry test - Add hop count validation before forwarding in nhrp_peer_recv() - Disable and delete ospfv3 areas that no longer have interfaces or configuration. - Fix lsa memory leaks related to graceful restart - Fix crash when ospf client connects before doing 'router ospf' - Fix for crash during networking restart - Fix memory leak on shutdown - Initialize gm proxy to false - Make docs and rpki optional for rpm package build - Make sure zeromq is always disabled - Revert - Add option to build pkg without docs and rpki support - Add Workaround for inet_ntop replacement which breaks rpms - Avoid requesting srv6 sid from zebra when loc and sid block dont match - Add more tests to bgp_rpki_topo1 test - Add nb test binary to .gitignore - Add route-map evpn set gateway-ip topotest - Check if routes are marked as stale and retained with n-bit for gr - Fix typo when configuring delayopen timer - Fix wait times in test_ospf6_gr_topo1 topotest - Use label 0x800000 instead of 0x000000 for bmp tests - Use little-endian order for libyang api - Fix reload script for srv6 locators and formats Signed-off-by: Gyorgy Sarvari Signed-off-by: Khem Raj --- .../recipes-protocols/frr/{frr_10.3.bb => frr_10.4.1.bb} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename meta-networking/recipes-protocols/frr/{frr_10.3.bb => frr_10.4.1.bb} (97%) diff --git a/meta-networking/recipes-protocols/frr/frr_10.3.bb b/meta-networking/recipes-protocols/frr/frr_10.4.1.bb similarity index 97% rename from meta-networking/recipes-protocols/frr/frr_10.3.bb rename to meta-networking/recipes-protocols/frr/frr_10.4.1.bb index f0f3f34ab3..ce455ab8bf 100644 --- a/meta-networking/recipes-protocols/frr/frr_10.3.bb +++ b/meta-networking/recipes-protocols/frr/frr_10.4.1.bb @@ -10,11 +10,11 @@ LIC_FILES_CHKSUM = "file://doc/licenses/GPL-2.0;md5=b234ee4d69f5fce4486a80fdaf4a file://doc/licenses/LGPL-2.1;md5=4fbd65380cdd255951079008b364516c" -SRC_URI = "git://github.com/FRRouting/frr.git;protocol=https;branch=stable/10.3 \ +SRC_URI = "git://github.com/FRRouting/frr.git;protocol=https;branch=stable/10.4;tag=frr-${PV} \ file://frr.pam \ " -SRCREV = "85cf1ed576deed121751e16a64970f8a652a9e1e" +SRCREV = "88f5c06cbc1cc4d62e1cba3e7791f5cea4179ba5" UPSTREAM_CHECK_GITTAGREGEX = "frr-(?P\d+(\.\d+)+)$" @@ -39,7 +39,6 @@ PACKAGECONFIG[zeromq] = "--enable-zeromq,--disable-zeromq,zeromq" PACKAGECONFIG[protobuf] = "--enable-protobuf,--disable-protobuf,protobuf-c-native protobuf-c" PACKAGECONFIG[capabilities] = "--enable-capabilities,--disable-capabilities,libcap" PACKAGECONFIG[cumulus] = "--enable-cumulus,--disable-cumulus" -PACKAGECONFIG[datacenter] = "--enable-datacenter,--disable-datacenter" PACKAGECONFIG[ospfclient] = "--enable-ospfapi --enable-ospfclient,--disable-ospfapi --disable-ospfclient" EXTRA_OECONF:class-native = "--enable-clippy-only"