[PR #1914] [MERGED] Retry reading routing table (bsd) #16019

Open
opened 2026-08-05 03:08:48 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1914
Author: @hurricanehrndz
Created: 5/2/2024
Status: Merged
Merged: 5/7/2024
Merged by: @lixmal

Base: mainHead: fix/bsd_cannot_allocate_memory_error


📝 Commits (3)

  • fff6fab Retry reading routing table (bsd)
  • 25b2c1f Update client/internal/routemanager/systemops_bsd.go
  • 2e6bbde Fix imports

📊 Changes

1 file changed (+31 additions, -1 deletions)

View changed files

📝 client/internal/routemanager/systemops_bsd.go (+31 -1)

📄 Description

Similar to #1817, BSD base OSes will return "cannot allocate memory" errors when routing table is expanding.

Describe your changes

See issue #1681, this is an additional fix

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/1914 **Author:** [@hurricanehrndz](https://github.com/hurricanehrndz) **Created:** 5/2/2024 **Status:** ✅ Merged **Merged:** 5/7/2024 **Merged by:** [@lixmal](https://github.com/lixmal) **Base:** `main` ← **Head:** `fix/bsd_cannot_allocate_memory_error` --- ### 📝 Commits (3) - [`fff6fab`](https://github.com/netbirdio/netbird/commit/fff6faba2abf41f338c619017187474753a2e0a7) Retry reading routing table (bsd) - [`25b2c1f`](https://github.com/netbirdio/netbird/commit/25b2c1f2cfdb27d2bf30c9f50958b1a5dc4fef33) Update client/internal/routemanager/systemops_bsd.go - [`2e6bbde`](https://github.com/netbirdio/netbird/commit/2e6bbde3704cfe86adb74a435de3d30d162bafea) Fix imports ### 📊 Changes **1 file changed** (+31 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/routemanager/systemops_bsd.go` (+31 -1) </details> ### 📄 Description Similar to #1817, BSD base OSes will return "cannot allocate memory" errors when routing table is expanding. ## Describe your changes See issue #1681, this is an additional fix ## Issue ticket number and link ### Checklist - [x] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 03:08:48 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#16019