rack: unbreak TCP fast open for the client side
Allow sending user data on the SYN segment. Reviewed by: rrs MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D29082 Sponsored by: Netflix, Inc.
This commit is contained in:
parent
6781b8a32e
commit
705d06b289
@ -12297,7 +12297,8 @@ rack_output(struct tcpcb *tp)
|
||||
* If sack_rxmit is true we are retransmitting from the scoreboard
|
||||
* in which case len is already set.
|
||||
*/
|
||||
if ((sack_rxmit == 0) && TCPS_HAVEESTABLISHED(tp->t_state)) {
|
||||
if ((sack_rxmit == 0) &&
|
||||
(TCPS_HAVEESTABLISHED(tp->t_state) || IS_FASTOPEN(tp->t_flags))) {
|
||||
uint32_t avail;
|
||||
|
||||
avail = sbavail(sb);
|
||||
|
Loading…
Reference in New Issue
Block a user