tcp: fix stats counter for SYN_RCVD state when TCP-FO is used
Reviewed by: glebius Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D36384
This commit is contained in:
parent
160a2f2cdd
commit
c624b9a549
@ -1361,6 +1361,7 @@ syncache_tfo_expand(struct syncache *sc, struct socket *lso, struct mbuf *m,
|
||||
tp->snd_max = tp->iss;
|
||||
tp->snd_nxt = tp->iss;
|
||||
tp->t_tfo_pending = pending_counter;
|
||||
TCPSTATES_INC(TCPS_SYN_RECEIVED);
|
||||
TCPSTAT_INC(tcps_sc_completed);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user