summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/sample
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2020-04-22 14:15:33 -0700
committergVisor bot <gvisor-bot@google.com>2020-04-22 14:17:11 -0700
commit37f863f62813f76b05979494c1bc2fe102629321 (patch)
tree7f5beb725c201029369e78dd9f8225551224f465 /pkg/tcpip/sample
parentc31641150d9ee0e4b9c7cf1210c4e89a030a6bd7 (diff)
tcp: handle listen after shutdown properly
Right now, sentry panics in this case: panic: close of nil channel goroutine 67 [running]: pkg/tcpip/transport/tcp/tcp.(*endpoint).listen(0xc0000ce000, 0x9, 0x0) pkg/tcpip/transport/tcp/endpoint.go:2208 +0x170 pkg/tcpip/transport/tcp/tcp.(*endpoint).Listen(0xc0000ce000, 0x9, 0xc0003a1ad0) pkg/tcpip/transport/tcp/endpoint.go:2179 +0x50 Fixes #2468 PiperOrigin-RevId: 307896725
Diffstat (limited to 'pkg/tcpip/sample')
0 files changed, 0 insertions, 0 deletions