Minor style tweaks.
This commit is contained in:
parent
24c4192859
commit
b537a8d5fd
@ -909,15 +909,14 @@ syncache_expand(struct in_conninfo *inc, struct tcpopt *to, struct tcphdr *th,
|
|||||||
"rejected\n", s, __func__, th->th_ack, sc->sc_iss);
|
"rejected\n", s, __func__, th->th_ack, sc->sc_iss);
|
||||||
goto failed;
|
goto failed;
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
* The SEQ must fall in the window starting a the received initial receive
|
|
||||||
* sequence number + 1 (the SYN).
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The SEQ must fall in the window starting at the received
|
||||||
|
* initial receive sequence number + 1 (the SYN).
|
||||||
|
*/
|
||||||
if ((SEQ_LEQ(th->th_seq, sc->sc_irs) ||
|
if ((SEQ_LEQ(th->th_seq, sc->sc_irs) ||
|
||||||
SEQ_GT(th->th_seq, sc->sc_irs + sc->sc_wnd )) &&
|
SEQ_GT(th->th_seq, sc->sc_irs + sc->sc_wnd)) &&
|
||||||
!TOEPCB_ISSET(sc))
|
!TOEPCB_ISSET(sc)) {
|
||||||
{
|
|
||||||
if ((s = tcp_log_addrs(inc, th, NULL, NULL)))
|
if ((s = tcp_log_addrs(inc, th, NULL, NULL)))
|
||||||
log(LOG_DEBUG, "%s; %s: SEQ %u != IRS+1 %u, segment "
|
log(LOG_DEBUG, "%s; %s: SEQ %u != IRS+1 %u, segment "
|
||||||
"rejected\n", s, __func__, th->th_seq, sc->sc_irs);
|
"rejected\n", s, __func__, th->th_seq, sc->sc_irs);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user