Skip to content

SW-281365 fix dhcpcd route overflow recovery#18

Merged
aminescu-dn merged 3 commits into
v10.0.6-dnfrom
amihu/dhcpcd/SW-281365/fix_dhcpcd_overflow
Jul 9, 2026
Merged

SW-281365 fix dhcpcd route overflow recovery#18
aminescu-dn merged 3 commits into
v10.0.6-dnfrom
amihu/dhcpcd/SW-281365/fix_dhcpcd_overflow

Conversation

@andreimihu-dn

@andreimihu-dn andreimihu-dn commented Jul 2, 2026

Copy link
Copy Markdown

Summary

Route socket overflow currently forces an immediate full interface-state rebuild every time the kernel reports ENOBUFS. Under sustained route churn this makes dhcpcd spend most of its time relearning the same state, which amplifies CPU and memory pressure in the inband container.

This change keeps the urgent part of the handler immediate: drain the route socket so the event loop can continue. The expensive interface rediscovery is scheduled once and coalesced while another recovery is already pending, limiting repeated full rebuilds during an overflow storm.

If scheduling the delayed recovery fails, dhcpcd falls back to the previous synchronous recovery path.

@aminescu-dn aminescu-dn merged commit a678855 into v10.0.6-dn Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants