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
James Tucker c628132b34 wgengine/netstack: do not send packets to netstack after close
Use the local context on Impl to check for shut down state in order to
drop rather than inject packets after close has begun.

Netstack sets endpoint.dispatcher to nil during shutdown. After the
recent adjustment in 920ec69241 we now
wait for netstack to fully shutdown before we release tests. This means
that we may continue to accept packets and attempt to inject them, which
we must prevent in order to avoid nil pointer panic.

References google/gvisor#8765
Fixes #7715

Signed-off-by: James Tucker <james@tailscale.com>
1 year ago
..
bench all: update copyright and license headers 1 year ago
capture wgengine: start logging DISCO frames to pcap stream 1 year ago
filter all: use tstest.Replace more 1 year ago
magicsock go.mod, net/tstun, wgengine/magicsock: update wireguard-go (#7712) 1 year ago
monitor net/sockstats: remove explicit dependency on wgengine/monitor 1 year ago
netlog all: replace logtail.{Public,Private}ID with logid.{Public,Private}ID (#7404) 1 year ago
netstack wgengine/netstack: do not send packets to netstack after close 1 year ago
router version/distro,wgengine/router: raise WSL eth0 MTU when too low 1 year ago
wgcfg all: replace logtail.{Public,Private}ID with logid.{Public,Private}ID (#7404) 1 year ago
wgint all: update copyright and license headers 1 year ago
wglog all: update copyright and license headers 1 year ago
winnet all: update copyright and license headers 1 year ago
mem_ios.go all: update copyright and license headers 1 year ago
pendopen.go all: update copyright and license headers 1 year ago
userspace.go net/tstun: add inital support for NAT v4 1 year ago
userspace_ext_test.go all: update copyright and license headers 1 year ago
userspace_test.go all: update copyright and license headers 1 year ago
watchdog.go wgengine: start logging DISCO frames to pcap stream 1 year ago
watchdog_js.go all: update copyright and license headers 1 year ago
watchdog_test.go all: update copyright and license headers 1 year ago
wgengine.go wgengine: start logging DISCO frames to pcap stream 1 year ago