diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2020-03-13 12:29:19 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-03-13 12:30:16 -0700 |
commit | 530a31f3c08b10fbd2f8135c5b76380cf5e7f4e8 (patch) | |
tree | ebdcb735ccd0805548535823aebcb9c2cf9b1fae /pkg/sentry/fs/proc | |
parent | 86409c91813256f45ebcb08efeac9d7f9e56a804 (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/fs/proc')
0 files changed, 0 insertions, 0 deletions