You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/wgengine/magicsock
Brad Fitzpatrick 514539b611 wgengine/magicsock: close disco listeners on Conn.Close, fix Linux root TestNewConn
TestNewConn now passes as root on Linux. It wasn't closing the BPF
listeners and their goroutines.

The code is still a mess of two Close overlapping code paths, but that
can be refactored later. For now, make the two close paths more similar.

Updates #9945

Change-Id: I8a3cf5fb04d22ba29094243b8e645de293d9ed85
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
1 year ago
..
batching_conn.go
blockforever_conn.go
debughttp.go
debugknobs.go wgengine/magicsock: replace CanPMTUD() with ShouldPMTUD() 1 year ago
debugknobs_stubs.go wgengine/magicsock: replace CanPMTUD() with ShouldPMTUD() 1 year ago
derp.go
discopingpurpose_string.go
endpoint.go tstest/integration: add tests for tun mode (requiring root) 1 year ago
endpoint_default.go
endpoint_stub.go
endpoint_tracker.go
endpoint_tracker_test.go
magicsock.go wgengine/magicsock: close disco listeners on Conn.Close, fix Linux root TestNewConn 1 year ago
magicsock_default.go
magicsock_linux.go wgengine/magicsock: simplify tryEnableUDPOffload() (#9872) 1 year ago
magicsock_test.go cmd/tailscaled,net/tstun: fix data race on start-up in TUN mode 1 year ago
magicsock_unix_test.go
peermap.go wgengine/magicsock: make peerMap also keyed by NodeID 1 year ago
peermtu.go disco,net/tstun,wgengine/magicsock: probe peer MTU 1 year ago
peermtu_darwin.go
peermtu_linux.go
peermtu_stubs.go wgengine/magicsock: replace CanPMTUD() with ShouldPMTUD() 1 year ago
peermtu_unix.go wgengine/magicsock: replace CanPMTUD() with ShouldPMTUD() 1 year ago
rebinding_conn.go