mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-27 20:16:28 -08:00
Returning from injectToHost and injectToWireGuard leaves the two
goroutines dead and the host without having a way to send traffic.
This is especially relevant for android where the tundev is torn down
and recreated for every call to updateTUN() from a route table change or
roaming between networks.
Fixes #21155
Signed-off-by: Claus Lensbøl <[email protected]>
(cherry picked from commit 3f3e56f412)
(this effectively more of a backport than a cherry pick)