summaryrefslogtreecommitdiffhomepage
path: root/pkg/bpf/interpreter_test.go
diff options
context:
space:
mode:
authorBhasker Hariharan <bhaskerh@google.com>2019-01-29 18:12:31 -0800
committerShentubot <shentubot@google.com>2019-01-29 18:13:48 -0800
commitf03c7e48e71009a64c30b57648fd234710fd578a (patch)
tree908bce875e9dd050d122c7c1eda9900ec359690b /pkg/bpf/interpreter_test.go
parent53afa68988f84ac8df62b2df6463457c39c1e803 (diff)
Fix IsLost check to match the description in RFC6675.
quoting what "rscheff@gmx.at" pointed out over email. "IsLost in RFC3517 is defined as >= (DupThresh * SMSS) while RFC6675 improves upon this, and defines IsLost as > ((DupThresh - 1) * SMSS + 1). The latter addresses situations where partial segments (size < MSS) are sent (eg. last segment of a http protocol message sent with PSH being less than MSS is common)." PiperOrigin-RevId: 231512331 Change-Id: I1addd4a92e3e7baeb0bdda46463ebfae435da958
Diffstat (limited to 'pkg/bpf/interpreter_test.go')
0 files changed, 0 insertions, 0 deletions