FRR Mirror
  1. FRR Mirror

FRR

Public
AuthorCommitMessageCommit dateIssues
Donatas AbraitisGitHubDonatas Abraitis
7c6119feb20MMerge pull request #20040 from pguibert6WIND/srv6_only_command_to_defaultbgpd: fix srv6-only command defaulted when 'no segment-routing ipv6'
Philippe GuibertPhilippe Guibert
4271530dff3bgpd: fix srv6-only command defaulted when 'no segment-routing ipv6'When the 'no segment-routing ipv6' command is applied, the current srv6-only configuration is still used; this makes think that the previous command is ineffective. Fix this by defaulting the value to false. Fixes: 4c80ab09dfd7 ("bgpd: add srv6-only command per bgp instance") Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Donatas AbraitisGitHubDonatas Abraitis
d20531e9f65MMerge pull request #20035 from jaredmauch/bgpd_listening_socket_regressionbgpd: fix uninitialized variable in bgp_need_listening
Donatas AbraitisGitHubDonatas Abraitis
82ec00343e4MMerge pull request #20032 from jaredmauch/bgp_nhc_tlv_dupbgpd: fix memory leak in BGP NHC TLV processing
Donatas AbraitisGitHubDonatas Abraitis
6991d37aa13MMerge pull request #20020 from donaldsharp/fix_snmp_warningslib: ospf_snmp.c is compiling with warnings
Donatas AbraitisGitHubDonatas Abraitis
babd2e99e75MMerge pull request #20024 from raja-rajasekar/rajasekarr/show_cmd bgpd: add evpn prefix in json output
jared mauchjared mauch
0e189e0db1dbgpd: fix uninitialized variable in bgp_need_listeningThe listener variable was not initialized to NULL, causing undefined behavior when the listen_sockets list is empty. This prevented the listening socket from being created for the default VRF, leading to poll() errors and crashes in BGP tests. Root cause: When the list is empty, the loop never executes, leaving listener uninitialized. The subsequent NULL check then reads an uninitialized value...
jared mauchjared mauch
a9c53ede94bbgpd: fix memory leak in BGP NHC TLV processingFix memory leak that occurs when processing duplicate NHC TLVs in BGP UPDATE messages. The code was allocating a TLV structure and value buffer before checking if a TLV with the same code already existed. If a duplicate was found, the newly allocated TLV was leaked. Also fix error path where TLV was not freed before returning on NNHN TLV validation error. This leak can occur on long-lived BGP...
Rajasekar RajaRajasekar Raja
8807f085a9ctests: Add coverage for show vni mac ip jsonAdd coverage for show vni mac ip json Signed-off-by: Rajasekar Raja <rajasekarr@nvidia.com>
Chirag ShahRajasekar RajaChirag Shah
dcb365da752bgpd: add evpn prefix in json outputPR 4850 has changed JSON output format where evpn prefix is dissected to display each fields. In effort to do so, it removed the evpn prefix and prefixlen fields which causes a regression issue in exisitng cli parser. Adding back evpn prefix and prefixlen. Ticket: CM-30105 Reviewed By:CCR-10420 Testing Done: TORS1# show bgp l2vpn evpn route vni 1002 mac 00:02:00:00:00:01 ip fe80::202:ff:fe00:...2 Jira issues
Donald SharpDonald Sharp
5ba188a6b69lib: ospf_snmp.c is compiling with warningsSince the change to the byte length macros was switching it from a sizeof(X) to a straight number, the number is being treated as a integer. GCC is rightly treating this as mixing integer sizes and calling out problems. Let's tell the compiler that these values are actually Unsigned Longs. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Russ WhiteGitHubRuss White
66bae5f49faMMerge pull request #19122 from louis-6wind/zebra-neigh-extzebra: fix import of non zebra extern_learn neighbors
Russ WhiteGitHubRuss White
6c4140ef538MMerge pull request #19721 from chiragshah6/evpnv6_1*:EVPN over IPv6 underlay fabric - single homed
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
e4b9a889998MMerge pull request #20013 from donaldsharp/coverity_snmp_stufflib: Change sizeof(..) to actual byte sizes for addresses
Donald SharpGitHubDonald Sharp
bddffb114f0MMerge pull request #20012 from opensourcerouting/fix/default_socketbgpd: Activate listening socket for a default VRF when created
Donald SharpDonald Sharp
7f1b2a509e1lib: Change sizeof(..) to actual byte sizes for addressesCoverity is complaining about mixing sizeof operators with ptr arithmetic. Let's just convert to the actual byte sizes instead of doing sizeof().. We already have this in other places in the code. Should be ok. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donatas AbraitisDonatas Abraitis
bed222023betests: Add a test to check if BGP socket is created for a default VRFApplied a black styling also... Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Donatas AbraitisDonatas Abraitis
df7b1910abebgpd: Activate listening socket for a default VRF when createdThe intention was to stop/start listening sockets for VRF instances, but not for a default VRF. This is especially useful for VRF leaking, when non-default VRFs do not have any peers configured. Fixes: f8dafef42b694de723df256765df37f8405ef48e ("bgpd: avoid socket activation for VRF instances") Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
a3fa054d7beMMerge pull request #20006 from donaldsharp/coverity_uninitializedCoverity uninitialized
Donald SharpGitHubDonald Sharp
7eaadbdc661MMerge pull request #20004 from opensourcerouting/fix/docker_buildsAlpine Docker fix ups for 3.22
Mark StappGitHubMark Stapp
4ae185fc353MMerge pull request #19907 from hnattamaisub/cov_zebzebra: Coverity issue (Null pointer dereference -med severity)
Donatas AbraitisDonatas Abraitis
b2da38bb310docker: Move apk dependencies into APKBUILD fileInstall as root, but take them from APKBUILD file to be consistent as others. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Donatas AbraitisDonatas Abraitis
3d50a84be4ddocker: Install dependencies as root for alpine-apk-builder stageSigned-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Donald SharpDonald Sharp
18b1d8bfde0zebra: Check return code of sscanfWe check the return code of sscanf, every where but this place. Do so. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
1bfcdfcf8f2nhrpd: Initialize variableCoverity thinks it is possible that FRR has a code path where the nmba_addr is not initialized when it is used to set another variable. Let's make coverity happy. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
7ff81fbd840lib: Error check set_log_fileThis log file is error checked every other place do so here as well. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donatas AbraitisDonatas Abraitis
1b76519ba3ealpine: Drop libacl packageSince 3.22, it's just 'acl'. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Donatas AbraitisDonatas Abraitis
f3d40d48534docker: Use Alpine 3.22 imageAn upgrade from 3.20 Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Donatas AbraitisDonatas Abraitis
95d3507f293docker: Install acl package for libyang build0 0.723 ERROR: unable to select packages: 0 0.723 libacl (no such package): 0 0.723 required by: world[libacl] Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Donatas AbraitisDonatas Abraitis
3a16c350ccddocker: Install dependencies with the root user for libyang build0 6.211 >>> libyang: Uninstalling dependencies... 0 6.256 abuild-apk: setuid(0) failed: Operation not permitted ------ Dockerfile:21 -------------------- 20 | USER builder 21 | >>> RUN cd /src/libyang \ 22 | >>> && abuild checksum \ 23 | >>> && git init \ 24 | >>> && abuild -r -P /pkgs/apk Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Louis ScalbertLouis Scalbert
768950443b2tests: check import of non zebra extern_learn neighborsCheck import of non zebra extern_learn neighbors to zebra neighbor table. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Donatas AbraitisGitHubDonatas Abraitis
c4d30b79edfMMerge pull request #19985 from mjstapp/lock_loop_show_cmdslib: hold event loop mutex during show commands
Donatas AbraitisGitHubDonatas Abraitis
8a2d7d43375MMerge pull request #19991 from donaldsharp/32bit_problems32bit problems
Harini SubramanianhariniHarini Subramanian
ca32455e977zebra: Coverity issue (Null pointer dereference(CID 90819))This commit addresses null pointer dereference in zebra/zebra_nhg.c CID 90819: Dereference null return value (NULL_RETURNS) dereference: Dereferencing a pointer that might be NULL new when calling zebra_nhg_increment_ref. Description: Handled null check accordingly. Signed-off-by: Harini Subramanian <hnattamaisub@nvidia.com>
Harini SubramanianhariniHarini Subramanian
7a7027ea3abzebra: Coverity issue (Null pointer derefence(CID 109575))This commit addresses null pointer dereference in zebra/zebra_router.c
 CID 109575: Dereference null return value (NULL_RETURNS) dereference: Dereferencing zrt, which is known to be NULL. Description: Handled null check accordingly. Signed-off-by: Harini Subramanian <hnattamaisub@nvidia.com>
Harini SubramanianhariniHarini Subramanian
731317b2911zebra: Coverity issue (Null pointer derefence(CID 71721))This commit addresses null pointer dereference in zebra/zapi_msg.c CID 71721: Dereference null return value (NULL_RETURNS) dereference: Dereferencing a pointer that might be NULL rn when calling route_notify_internal. Description: Handled prefix changes and avoided null check accordingly. Signed-off-by: Harini Subramanian <hnattamaisub@nvidia.com>
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
075c1e9f549MMerge pull request #20001 from donaldsharp/bgp_keepalives_data_raceBgp keepalives data race
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
2e620a49646MMerge pull request #19990 from donaldsharp/event_executelib: Properly set event_execute type
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
ded57c44899MMerge pull request #19992 from donaldsharp/dest_is_a_bummerbgpd: Convince coverity that dest is still valid
Chirag ShahChirag Shah
1ed9175e99bzebra: moving the macro as per review commentmjstapp does not think this macro belongs to lib/prefix.h hence moving it to zebra where its currently being used. Signed-off-by: Chirag Shah <chirag@nvidia.com>
Chirag ShahChirag Shah
0bdb5ca9eactools: babletrace utility for in6_addr printfield_val = [32, 1, 13, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1] ipv6_bytes = bytes(field_val) # b' \x01\r\xb8\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01' addr = ipaddress.IPv6Address(ipv6_bytes) print(str(addr)) # Output: "2001:db8::1" Cursor Signed-off-by: Chirag Shah <chirag@nvidia.com>
Chirag ShahChirag Shah
33f127c97a2bgpd: EVPNv6 use MAX_BYTELEN in evpn IMETSigned-off-by: Chirag Shah <chirag@nvidia.com>
Chirag ShahChirag Shah
a815af2dc14zebra: use MAX_BYTELEN in netlink attr parsingSigned-off-by: Chirag Shah <chirag@nvidia.com>
Chirag ShahChirag Shah
28c930eb8a7zebra: EVPNv6 ipv6 mcast not supportedEVPN Mcast does not support IPv6 mcast address Signed-off-by: Chirag Shah <chirag@nvidia.com>
Chirag ShahChirag Shah
1b68328748ezebra: EVPNv6 vtepip parsing guard debug under filterSigned-off-by: Chirag Shah <chirag@nvidia.com>
Chirag ShahChirag Shah
d2fc10f4c33lib,zebra: define GUA ipv6 address lengthGUA IPv6 address max length can be 40 characters, hence defining new for #define to use where possible as column width etc. Signed-off-by: Chirag Shah <chirag@nvidia.com>
Chirag ShahChirag Shah
e265d1489c9zebra: EVPNv6 use ipaddr_family to extract af typeSigned-off-by: Chirag Shah <chirag@nvidia.com>
Chirag ShahChirag Shah
1a5ed04f6b0bgpd: check vtep not null in show vni routespost v4/v6 vtep change, check for input vtep pointer validitiy before accessing it. Signed-off-by: Chirag Shah <chirag@nvidia.com>
Chirag ShahChirag Shah
ed632941d72bgpd: EVPNv6 remote vtep variable initializationSigned-off-by: Chirag Shah <chirag@nvidia.com>
Chirag ShahChirag Shah
ca6164da3cdbgpd: enhance l3vni add debug to include pip ip2025/10/01 21:50:09.365379 BGP: [Z67YA-MZTRR] VRF vrf1 vni 104001 pip enable IP 2006:20:20::1 RMAC 00:00:10:00:01:08 sys RMAC 00:00:10:00:01:08 static RMAC 00:00:00:00:00:00 is_anycast_mac Disable Signed-off-by: Chirag Shah <chirag@nvidia.com>