summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/dev/device.go
diff options
context:
space:
mode:
authorGhanan Gowripalan <ghanan@google.com>2020-02-06 19:49:30 -0800
committergVisor bot <gvisor-bot@google.com>2020-02-06 19:50:34 -0800
commitca30dfa065f5458228b06dcf5379ed4edf29c165 (patch)
tree61eedab680549172258866ae351f0e3aef255ca7 /pkg/sentry/fs/dev/device.go
parent386a1a1564e57c36726ea5a45d6e4f739847a658 (diff)
Send DAD event when DAD resolves immediately
Previously, a DAD event would not be sent if DAD was disabled. This allows integrators to do some work when an IPv6 address is bound to a NIC without special logic that checks if DAD is enabled. Without this change, integrators would need to check if a NIC has DAD enabled when an address is auto-generated. If DAD is enabled, it would need to delay the work until the DAD completion event; otherwise, it would need to do the work in the address auto-generated event handler. Test: stack_test.TestDADDisabled PiperOrigin-RevId: 293732914
Diffstat (limited to 'pkg/sentry/fs/dev/device.go')
0 files changed, 0 insertions, 0 deletions