[PR #4476] [MERGED] Fix hanging arp_check #5161

Closed
opened 2026-05-05 10:33:23 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/4476
Author: @minus7
Created: 8/22/2021
Status: Merged
Merged: 8/30/2021
Merged by: @netblue30

Base: masterHead: master


📝 Commits (1)

📊 Changes

1 file changed (+10 additions, -4 deletions)

View changed files

📝 src/firejail/arp.c (+10 -4)

📄 Description

arp_check relied on select(2) decreasing the timeout. This doesn't seem
to be the case on Linux anymore, thus arp_check tends to hang when the
interface sees a lot of traffic. Calculating the timeout explicitly
solves the problem.

Fixes #3958


🔄 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/netblue30/firejail/pull/4476 **Author:** [@minus7](https://github.com/minus7) **Created:** 8/22/2021 **Status:** ✅ Merged **Merged:** 8/30/2021 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`e84122f`](https://github.com/netblue30/firejail/commit/e84122fd19d0e890c577b3f06e7e3e0e7b950266) Fix hanging arp_check ### 📊 Changes **1 file changed** (+10 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `src/firejail/arp.c` (+10 -4) </details> ### 📄 Description arp_check relied on select(2) decreasing the timeout. This doesn't seem to be the case on Linux anymore, thus arp_check tends to hang when the interface sees a lot of traffic. Calculating the timeout explicitly solves the problem. Fixes #3958 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:33:23 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#5161
No description provided.