diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-03-16 01:55:27 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-03-16 01:55:27 +0000 |
commit | 302095201997b26cef9c2b5fe28a7eb23cfdcc66 (patch) | |
tree | 4dc22840faa0b54a0ca717a6f41cb1a40f615883 /pkg/tcpip/link/fdbased/endpoint.go | |
parent | ed21cec72081f64b619dc1580b1700eb976f32d4 (diff) | |
parent | b1d57877264c2b94e3024375efc9914881f0bbe8 (diff) |
Merge release-20210309.0-27-gb1d578772 (automated)
Diffstat (limited to 'pkg/tcpip/link/fdbased/endpoint.go')
-rw-r--r-- | pkg/tcpip/link/fdbased/endpoint.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/link/fdbased/endpoint.go b/pkg/tcpip/link/fdbased/endpoint.go index e17e2085c..2bb1be5d6 100644 --- a/pkg/tcpip/link/fdbased/endpoint.go +++ b/pkg/tcpip/link/fdbased/endpoint.go @@ -492,7 +492,7 @@ func (e *endpoint) sendBatch(batchFD int, batch []*stack.PacketBuffer) (int, tcp var mmsgHdr rawfile.MMsgHdr mmsgHdr.Msg.Iov = &iovecs[0] - mmsgHdr.Msg.Iovlen = uint64(len(iovecs)) + mmsgHdr.Msg.SetIovlen((len(iovecs))) mmsgHdrs = append(mmsgHdrs, mmsgHdr) } |