Skip to content

Conversation

@barnstar
Copy link
Member

@barnstar barnstar commented Nov 21, 2025

Fixes tailscale/tailscale#17747

There was a mismatch between the netmon into which we were injecting network change events, and the netmon that the eventBus registered with in the userspace engine.

The switch from directly registering callbacks with netmon to using the eventBus caused a regression where the injected events would no longer trigger interface rebinds based on feedback from the Android network monitoring APIs.

With a phone with both cell and wifi, swap between the two and ensure we're registering the proper LinkChange: major events and the corresponding rebinds in the userspace engine.

fixes tailscale/android#17747

There was a mismatch between the netmon into which we
were injecting network change events, and the netmon that
the eventBus registered with in the userspace engine.

The switch from directly registering callbacks with netmon
to using the eventBus caused a regression where the
injected events would no longer trigger interface rebinds based
on feedback from the Android network monitoring APIs.

Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
@barnstar barnstar merged commit 24b6c48 into main Nov 21, 2025
4 checks passed
@barnstar barnstar deleted the jonathan/eventbus-netmon branch November 21, 2025 14:57
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.

DNS fails when switching from wifi to mobile data

2 participants