Correct comments.

This commit is contained in:
Jonathan Lemon 2003-02-19 21:33:46 +00:00
parent 3bfd6421c2
commit 414462252a
2 changed files with 8 additions and 14 deletions

View File

@ -731,13 +731,10 @@ tcp_input(m, off0)
tp->snd_up = tp->snd_una;
tp->snd_max = tp->snd_nxt = tp->iss + 1;
tp->last_ack_sent = tp->rcv_nxt;
/*
* XXX possible bug - it doesn't appear that tp->snd_wnd is unscaled
* until the _second_ ACK is received:
* rcv SYN (set wscale opts) --> send SYN/ACK, set snd_wnd = window.
* rcv ACK, calculate tiwin --> process SYN_RECEIVED, determine wscale,
* move to ESTAB, set snd_wnd to tiwin.
*/
/*
* RFC1323: The window in SYN & SYN/ACK
* segments is never scaled.
*/
tp->snd_wnd = tiwin; /* unscaled */
goto after_listen;
}

View File

@ -731,13 +731,10 @@ tcp_input(m, off0)
tp->snd_up = tp->snd_una;
tp->snd_max = tp->snd_nxt = tp->iss + 1;
tp->last_ack_sent = tp->rcv_nxt;
/*
* XXX possible bug - it doesn't appear that tp->snd_wnd is unscaled
* until the _second_ ACK is received:
* rcv SYN (set wscale opts) --> send SYN/ACK, set snd_wnd = window.
* rcv ACK, calculate tiwin --> process SYN_RECEIVED, determine wscale,
* move to ESTAB, set snd_wnd to tiwin.
*/
/*
* RFC1323: The window in SYN & SYN/ACK
* segments is never scaled.
*/
tp->snd_wnd = tiwin; /* unscaled */
goto after_listen;
}