summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/header
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-01-27 21:17:42 +0000
committergVisor bot <gvisor-bot@google.com>2020-01-27 21:17:42 +0000
commit01f7744d327ae92860621266bded03d5a9ad99db (patch)
treea6ab110c931e266c110a7f0de67db31dc2bda081 /pkg/tcpip/header
parent186ba3d4dce41d79812ac6a447c9870f12013292 (diff)
parentfbfcfcf5b03b4fddb4f00a3e8721cba07fc5343f (diff)
Merge release-20200115.0-106-gfbfcfcf (automated)
Diffstat (limited to 'pkg/tcpip/header')
-rw-r--r--pkg/tcpip/header/checksum.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/header/checksum.go b/pkg/tcpip/header/checksum.go
index 204285576..14a4b2b44 100644
--- a/pkg/tcpip/header/checksum.go
+++ b/pkg/tcpip/header/checksum.go
@@ -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 {