[Midnightbsd-cvs] src: tcp_input.c: Clamp the initial advertised receive window when

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Mar 31 22:09:24 EDT 2011


Log Message:
-----------
Clamp the initial advertised receive window when responding to a SYN/ACK
to the maximum allowed window. Growing the window too large would cause
an underflow in the calculations in tcp_output() to decide if a window
update should be sent which would prevent the persist timer from being
started if data was pending and the other end of the connection advertised
an initial window size of 0.

Obtained from: FreeBSD

Modified Files:
--------------
    src/sys/netinet:
        tcp_input.c (r1.7 -> r1.8)
        (http://cvsweb.midnightbsd.org/src/sys/netinet/tcp_input.c?r1=1.7&r2=1.8)


More information about the Midnightbsd-cvs mailing list