summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/proc/tasks_files.go
diff options
context:
space:
mode:
authorGhanan Gowripalan <ghanan@google.com>2020-03-13 12:29:19 -0700
committergVisor bot <gvisor-bot@google.com>2020-03-13 12:30:16 -0700
commit530a31f3c08b10fbd2f8135c5b76380cf5e7f4e8 (patch)
treeebdcb735ccd0805548535823aebcb9c2cf9b1fae /pkg/sentry/fsimpl/proc/tasks_files.go
parent86409c91813256f45ebcb08efeac9d7f9e56a804 (diff)
Disable a NIC before removing it
When a NIC is removed, attempt to disable the NIC first to cleanup dynamic state and stop ongoing periodic tasks (e.g. IPv6 router solicitations, DAD) so that a removed NIC does not attempt to send packets. Tests: - stack_test.TestRemoveUnknownNIC - stack_test.TestRemoveNIC - stack_test.TestDADStop - stack_test.TestCleanupNDPState - stack_test.TestRouteWithDownNIC - stack_test.TestStopStartSolicitingRouters PiperOrigin-RevId: 300805857
Diffstat (limited to 'pkg/sentry/fsimpl/proc/tasks_files.go')
0 files changed, 0 insertions, 0 deletions