diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-02-21 17:57:10 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-21 17:57:10 +0000 |
commit | 24d720c15dffc0d43100b9e05ac8600b3b023afa (patch) | |
tree | 06c2f3d59a84b1ba7de98abc9376e4ddf26b0341 | |
parent | 11cbf743265a24bbdde750f44bd4f56ac66ff9d2 (diff) | |
parent | 97c07242c37e56f6cfdc52036d554052ba95f2ae (diff) |
Merge release-20200211.0-59-g97c0724 (automated)
-rwxr-xr-x | pkg/tcpip/stack/ndp.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/stack/ndp.go b/pkg/tcpip/stack/ndp.go index 19bd05aa3..f651871ce 100755 --- a/pkg/tcpip/stack/ndp.go +++ b/pkg/tcpip/stack/ndp.go @@ -1235,7 +1235,7 @@ func (ndp *ndpState) startSolicitingRouters() { } payloadSize := header.ICMPv6HeaderSize + header.NDPRSMinimumSize - hdr := buffer.NewPrependable(header.IPv6MinimumSize + payloadSize) + hdr := buffer.NewPrependable(int(r.MaxHeaderLength()) + payloadSize) pkt := header.ICMPv6(hdr.Prepend(payloadSize)) pkt.SetType(header.ICMPv6RouterSolicit) pkt.SetChecksum(header.ICMPv6Checksum(pkt, r.LocalAddress, r.RemoteAddress, buffer.VectorisedView{})) |