diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-01-27 21:17:42 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-01-27 21:17:42 +0000 |
commit | 01f7744d327ae92860621266bded03d5a9ad99db (patch) | |
tree | a6ab110c931e266c110a7f0de67db31dc2bda081 /pkg/tcpip/header | |
parent | 186ba3d4dce41d79812ac6a447c9870f12013292 (diff) | |
parent | fbfcfcf5b03b4fddb4f00a3e8721cba07fc5343f (diff) |
Merge release-20200115.0-106-gfbfcfcf (automated)
Diffstat (limited to 'pkg/tcpip/header')
-rw-r--r-- | pkg/tcpip/header/checksum.go | 2 |
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 { |