diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2020-02-06 19:49:30 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-06 19:50:34 -0800 |
commit | ca30dfa065f5458228b06dcf5379ed4edf29c165 (patch) | |
tree | 61eedab680549172258866ae351f0e3aef255ca7 /pkg/tcpip/network | |
parent | 386a1a1564e57c36726ea5a45d6e4f739847a658 (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/tcpip/network')
0 files changed, 0 insertions, 0 deletions