Skip to content

magicsock: handle UDP read feedback - #22146

Merged
illotum merged 1 commit into
release-branch/1.104from
illotum/reachability-port
Nov 2, 2026
Merged

illotum merged 1 commit into
release-branch/1.104from
illotum/reachability-port

Conversation

@illotum

@illotum illotum commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Retry UDP reads returning EHOSTUNREACH or ENETUNREACH, including their Winsock equivalents, without returning those errors to wireguard-go. Count them in magicsock_recv_udp_error_reachability. Other read errors are unchanged.

Updates #20616
Updates #19504

Cherry-pick of e9b151b

Change-Id: I334beb38d271374ec42986d47867b2866a6a6964

@illotum
illotum requested review from a team, jwhited, nickoneill and raggi November 2, 2026 18:51
Retry UDP reads returning EHOSTUNREACH or ENETUNREACH, including their
Winsock equivalents, without returning those errors to wireguard-go.
Count them in magicsock_recv_udp_error_reachability. Other read errors are unchanged.

Updates #20616
Updates #19504

Signed-off-by: James Tucker <[email protected]>
(cherry picked from commit e9b151b)
@illotum
illotum force-pushed the illotum/reachability-port branch from 38ce07e to 73ad00f Compare November 2, 2026 19:08
@illotum
illotum merged commit ec4e690 into release-branch/1.104 Nov 2, 2026
61 checks passed
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.

5 participants