When we receive an out-of-window SYN for an "ESTABLISHED" connection,
ACK the SYN as required by RFC793, rather than ignoring it. NetBSD have had a similar change since 1999. PR: 93236 Submitted by: Grant Edwards <grante@visi.com> MFC after: 1 month
This commit is contained in:
parent
1ebe29d0de
commit
5e1aa27995
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=159772
@ -1786,6 +1786,8 @@ tcp_input(m, off0)
|
||||
if (tp->t_state == TCPS_SYN_RECEIVED ||
|
||||
(tp->t_flags & TF_NEEDSYN))
|
||||
goto step6;
|
||||
else if (tp->t_flags & TF_ACKNOW)
|
||||
goto dropafterack;
|
||||
else
|
||||
goto drop;
|
||||
}
|
||||
|
@ -1786,6 +1786,8 @@ tcp_input(m, off0)
|
||||
if (tp->t_state == TCPS_SYN_RECEIVED ||
|
||||
(tp->t_flags & TF_NEEDSYN))
|
||||
goto step6;
|
||||
else if (tp->t_flags & TF_ACKNOW)
|
||||
goto dropafterack;
|
||||
else
|
||||
goto drop;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user