Fix two comments.
This commit is contained in:
parent
fe2e562728
commit
37ba9d112a
@ -453,13 +453,13 @@ tcp_timer_2msl(struct tcpcb *tp, struct inpcb *inp)
|
|||||||
tp->t_inpcb->inp_socket &&
|
tp->t_inpcb->inp_socket &&
|
||||||
(tp->t_inpcb->inp_socket->so_rcv.sb_state & SBS_CANTRCVMORE)) {
|
(tp->t_inpcb->inp_socket->so_rcv.sb_state & SBS_CANTRCVMORE)) {
|
||||||
tcpstat.tcps_finwait2_drops++;
|
tcpstat.tcps_finwait2_drops++;
|
||||||
return (1); /* tcp_close() */
|
return (1); /* tcp_close */
|
||||||
} else {
|
} else {
|
||||||
if (tp->t_state != TCPS_TIME_WAIT &&
|
if (tp->t_state != TCPS_TIME_WAIT &&
|
||||||
(ticks - tp->t_rcvtime) <= tcp_maxidle)
|
(ticks - tp->t_rcvtime) <= tcp_maxidle)
|
||||||
tcp_timer_activate(tp, TT_2MSL, tcp_keepintvl);
|
tcp_timer_activate(tp, TT_2MSL, tcp_keepintvl);
|
||||||
else
|
else
|
||||||
return (1); /* tcp_close( */
|
return (1); /* tcp_close */
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef TCPDEBUG
|
#ifdef TCPDEBUG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user