summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/network/internal
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-05-14 23:41:41 +0000
committergVisor bot <gvisor-bot@google.com>2021-05-14 23:41:41 +0000
commit0f2459decc7e8c6009b13e9093f7bbff7ea3b96f (patch)
tree0f6c2d6d6d05ed27fbd0053b36bdf3f66b373072 /pkg/tcpip/network/internal
parenta9fae2bee876ca5a57703417c45540ff9202d8b0 (diff)
parent820c77d5e78787cb7ffb197892d912c9f4c25a22 (diff)
Merge release-20210510.0-42-g820c77d5e (automated)
Diffstat (limited to 'pkg/tcpip/network/internal')
-rw-r--r--pkg/tcpip/network/internal/ip/duplicate_address_detection.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/tcpip/network/internal/ip/duplicate_address_detection.go b/pkg/tcpip/network/internal/ip/duplicate_address_detection.go
index eed49f5d2..5123b7d6a 100644
--- a/pkg/tcpip/network/internal/ip/duplicate_address_detection.go
+++ b/pkg/tcpip/network/internal/ip/duplicate_address_detection.go
@@ -83,6 +83,8 @@ func (d *DAD) Init(protocolMU sync.Locker, configs stack.DADConfigurations, opts
panic(fmt.Sprintf("given a non-zero value for NonceSize (%d) but zero for ExtendDADTransmits", opts.NonceSize))
}
+ configs.Validate()
+
*d = DAD{
opts: opts,
configs: configs,