]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r308943
authorhiren <hiren@FreeBSD.org>
Mon, 5 Dec 2016 06:20:27 +0000 (06:20 +0000)
committerhiren <hiren@FreeBSD.org>
Mon, 5 Dec 2016 06:20:27 +0000 (06:20 +0000)
commit356fbc072920d7e71c42b310d6bfa2d1a3d36f9f
treed2dda34dda38eeb32504f49d10679f4fec2e601c
parentccf958c4684e753bca88fbe5b9eedbaf803fb5ec
MFC r308943

For RTT calculations mid-session, we explicitly ignore ACKs with tsecr of 0 as
many borken middle-boxes tend to do that. But during 3whs, in syncache_expand(),
we don't do that which causes us to send a RST to such a client. Relax this
constraint by only using tsecr to compare against timestamp that we sent when it
is not 0. As a result, we'd now accept the final ACK of 3whs with tsecr of 0.

Sponsored by: Limelight Networks
sys/netinet/tcp_syncache.c