summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/syscalls
diff options
context:
space:
mode:
authorGhanan Gowripalan <ghanan@google.com>2021-01-31 12:25:21 -0800
committergVisor bot <gvisor-bot@google.com>2021-01-31 12:27:21 -0800
commitb4f8a925283eaca32820e7977706768343bf04b8 (patch)
treea8280519f89737911f4185fff45dddc19402ce2c /pkg/sentry/syscalls
parent4ee8cf8734d24c7ba78700c21dff561207d4ed1a (diff)
Remove NICs before closing their link endpoints
...in IPv6 ICMP tests. A channel link endpoint's channel is closed when the link endpoint is closed. When the stack tries to send packets through a NIC with a closed channel endpoint, a panic will occur when attempting to write to a closed channel (https://golang.org/ref/spec#Close). To make sure the stack does not try to send packets through a NIC, we remove it. PiperOrigin-RevId: 354822085
Diffstat (limited to 'pkg/sentry/syscalls')
0 files changed, 0 insertions, 0 deletions