Date: Fri, 5 Aug 2016 09:08:18 +0000 From: Phabricator <phabric-noreply@FreeBSD.org> To: freebsd-net@freebsd.org Subject: [Differential] D7415: tcp/lro: If timestamps mismatch or it's a FIN, force flush. Message-ID: <47a9b539d4ea9c64f7cdcaca5f1993aa@localhost.localdomain> In-Reply-To: <differential-rev-PHID-DREV-nxbjynsxkd5zh6l3wyn3-req@FreeBSD.org> References: <differential-rev-PHID-DREV-nxbjynsxkd5zh6l3wyn3-req@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--b1_47a9b539d4ea9c64f7cdcaca5f1993aa Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: base64 VGhpcyByZXZpc2lvbiB3YXMgYXV0b21hdGljYWxseSB1cGRhdGVkIHRvIHJlZmxlY3QgdGhlIGNv bW1pdHRlZCBjaGFuZ2VzLgpDbG9zZWQgYnkgY29tbWl0IHJTMzAzNzY2OiB0Y3AvbHJvOiBJZiB0 aW1lc3RhbXBzIG1pc21hdGNoIG9yIGl0J3MgYSBGSU4sIGZvcmNlIGZsdXNoLiAoYXV0aG9yZWQg Ynkgc2VwaGUpLgoKQ0hBTkdFRCBQUklPUiBUTyBDT01NSVQKICBodHRwczovL3Jldmlld3MuZnJl ZWJzZC5vcmcvRDc0MTU/dnM9MTkwMzImaWQ9MTkwNjMjdG9jCgpSRVBPU0lUT1JZCiAgclMgRnJl ZUJTRCBzcmMgcmVwb3NpdG9yeQoKQ0hBTkdFUyBTSU5DRSBMQVNUIFVQREFURQogIGh0dHBzOi8v cmV2aWV3cy5mcmVlYnNkLm9yZy9ENzQxNT92cz0xOTAzMiZpZD0xOTA2MwoKUkVWSVNJT04gREVU QUlMCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL0Q3NDE1CgpBRkZFQ1RFRCBGSUxFUwog IGhlYWQvc3lzL25ldGluZXQvdGNwX2xyby5jCgpFTUFJTCBQUkVGRVJFTkNFUwogIGh0dHBzOi8v cmV2aWV3cy5mcmVlYnNkLm9yZy9zZXR0aW5ncy9wYW5lbC9lbWFpbHByZWZlcmVuY2VzLwoKVG86 IHNlcGhlcm9zYV9nbWFpbC5jb20sIHJycywgbnAsIGdsZWJpdXMsIGhpcmVuLCBieiwgI3RyYW5z cG9ydCwgaHNlbGFza3ksIGdhbGxhdGluCkNjOiBmcmVlYnNkLW5ldC1saXN0Cg== --b1_47a9b539d4ea9c64f7cdcaca5f1993aa Content-Type: text/x-patch; charset=utf-8; name="D7415.19063.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D7415.19063.patch" ZGlmZiAtLWdpdCBhL2hlYWQvc3lzL25ldGluZXQvdGNwX2xyby5jIGIvaGVhZC9zeXMvbmV0aW5l dC90Y3BfbHJvLmMKLS0tIGEvaGVhZC9zeXMvbmV0aW5ldC90Y3BfbHJvLmMKKysrIGIvaGVhZC9z eXMvbmV0aW5ldC90Y3BfbHJvLmMKQEAgLTYwMyw2ICs2MDMsNyBAQAogCWludCBlcnJvciwgaXBf bGVuLCBsOwogCXVpbnQxNl90IGVoX3R5cGUsIHRjcF9kYXRhX2xlbjsKIAlzdHJ1Y3QgbHJvX2hl YWQgKmJ1Y2tldDsKKwlpbnQgZm9yY2VfZmx1c2ggPSAwOwogCiAJLyogV2UgZXhwZWN0IGEgY29u dGlndW91cyBoZWFkZXIgW2VoLCBpcCwgdGNwXS4gKi8KIApAQCAtNjY5LDggKzY3MCwxNSBAQAog CSAqIENoZWNrIFRDUCBoZWFkZXIgY29uc3RyYWludHMuCiAJICovCiAJLyogRW5zdXJlIG5vIGJp dHMgc2V0IGJlc2lkZXMgQUNLIG9yIFBTSC4gKi8KLQlpZiAoKHRoLT50aF9mbGFncyAmIH4oVEhf QUNLIHwgVEhfUFVTSCkpICE9IDApCi0JCXJldHVybiAoVENQX0xST19DQU5OT1QpOworCWlmICgo dGgtPnRoX2ZsYWdzICYgfihUSF9BQ0sgfCBUSF9QVVNIKSkgIT0gMCkgeworCQlpZiAodGgtPnRo X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iAoY3N1bSA9PSAweDAwMDApCkBAIC03NTQsNiArNzY3LDEzIEBACiAjZW5kaWYKIAkJfQog CisJCWlmIChmb3JjZV9mbHVzaCkgeworCQkJLyogVGltZXN0YW1wcyBtaXNtYXRjaDsgdGhpcyBp cyBhIEZJTiwgZXRjICovCisJCQl0Y3BfbHJvX2FjdGl2ZV9yZW1vdmUobGUpOworCQkJdGNwX2xy b19mbHVzaChsYywgbGUpOworCQkJcmV0dXJuIChUQ1BfTFJPX0NBTk5PVCk7CisJCX0KKwogCQkv KiBGbHVzaCBub3cgaWYgYXBwZW5kaW5nIHdpbGwgcmVzdWx0IGluIG92ZXJmbG93LiAqLwogCQlp ZiAobGUtPnBfbGVuID4gKGxjLT5scm9fbGVuZ3RoX2xpbSAtIHRjcF9kYXRhX2xlbikpIHsKIAkJ CXRjcF9scm9fYWN0aXZlX3JlbW92ZShsZSk7CkBAIC04MzAsNiArODUwLDE0IEBACiAJCXJldHVy biAoMCk7CiAJfQogCisJaWYgKGZvcmNlX2ZsdXNoKSB7CisJCS8qCisJCSAqIE5vdGhpbmcgdG8g Zmx1c2gsIGJ1dCB0aGlzIHNlZ21lbnQgY2FuIG5vdCBiZSBmdXJ0aGVyCisJCSAqIGFnZ3JlZ2F0 ZWQvZGVsYXllZC4KKwkJICovCisJCXJldHVybiAoVENQX0xST19DQU5OT1QpOworCX0KKwogCS8q IFRyeSB0byBmaW5kIGFuIGVtcHR5IHNsb3QuICovCiAJaWYgKExJU1RfRU1QVFkoJmxjLT5scm9f ZnJlZSkpCiAJCXJldHVybiAoVENQX0xST19OT19FTlRSSUVTKTsKCg== --b1_47a9b539d4ea9c64f7cdcaca5f1993aa--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47a9b539d4ea9c64f7cdcaca5f1993aa>