mirror of https://github.com/tailscale/tailscale/
wgengine/magicsock: always run ReceiveIPv6
One of the consequences of the bind refactoring in 6f23087175
is that attempting to bind an IPv6 socket will always
result in c.pconn6.pconn being non-nil.
If the bind fails, it'll be set to a placeholder packet conn
that blocks forever.
As a result, we can always run ReceiveIPv6 and health check it.
This removes IPv4/IPv6 asymmetry and also will allow health checks
to detect any IPv6 receive func failures.
Signed-off-by: Josh Bleecher Snyder <josharian@gmail.com>
pull/1819/head
parent
fe50ded95c
commit
9d542e08e2
Loading…
Reference in New Issue