]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
tcp: Rack compressed ack path updates the recv window too easily
authorRandall Stewart <rrs@FreeBSD.org>
Thu, 23 Sep 2021 15:43:29 +0000 (11:43 -0400)
committerRandall Stewart <rrs@FreeBSD.org>
Thu, 23 Sep 2021 15:43:29 +0000 (11:43 -0400)
commit1ca931a540cbb1891f535832ee6ef40ae3ed3910
tree8f8aaa2bb4d2f902cab433766d84f51dd3bb794d
parentfd69939e79a65d0dea766ac05e4d8b7335819ae1
tcp: Rack compressed ack path updates the recv window too easily

The compressed ack path of rack is not following proper procedures in updating
the peers window. It should be checking the seq and ack values before updating and
instead it is blindly updating the values. This could in theory get the wrong window
in the connection for some length of time.

Reviewed by: tuexen
Sponsored by: Netflix Inc.
Differential Revision: https://reviews.freebsd.org/D32082
sys/netinet/tcp_stacks/rack.c