Update ChecksumVVWithoffset to use unrolled version.

Fixes #1656

PiperOrigin-RevId: 291777279
This commit is contained in:
Bhasker Hariharan
2020-01-27 12:32:07 -08:00
committed by gVisor bot
parent 13c1f38dfa
commit fbfcfcf5b0
+1 -1
View File
@@ -213,7 +213,7 @@ func ChecksumVVWithOffset(vv buffer.VectorisedView, initial uint16, off int, siz
}
v = v[:l]
sum, odd = calculateChecksum(v, odd, uint32(sum))
sum, odd = unrolledCalculateChecksum(v, odd, uint32(sum))
size -= len(v)
if size == 0 {