Irbe Krumina 87a6138de9
wgengine/netstack: fix 4via6 subnet routes (#12454) (#12455)
Fix a bug where, for a subnet router that advertizes
4via6 route, all packets with a source IP matching
the 4via6 address were being sent to the host itself.
Instead, only send to host packets whose destination
address is host's local address.

Fixes tailscale/tailscale#12448

Signed-off-by: Irbe Krumina <irbe@tailscale.com>
Co-authored-by: Andrew Dunham <andrew@du.nham.ca>
(cherry picked from commit 88f2d234a4da1abdb31d720beae88c832a624cef)
2024-06-13 18:04:43 +01:00
..
2024-04-16 15:32:38 -07:00
2024-04-16 15:32:38 -07:00