Do not ignore all other TCP options (eg. timestamp, window scaling)

when responding to TCP SYN packets with TCP_MD5 enabled and set.

PR:		kern/82963
Submitted by:	<demizu at dd.iij4u.or.jp>
MFC after:	3 days
This commit is contained in:
Andre Oppermann 2005-09-14 15:06:22 +00:00
parent 17a8471fcd
commit db1240661f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150131

View File

@ -983,7 +983,7 @@ syncache_add(inc, to, th, sop, m)
* attempt to use it in syncache_respond().
*/
if (to->to_flags & TOF_SIGNATURE)
sc->sc_flags = SCF_SIGNATURE;
sc->sc_flags |= SCF_SIGNATURE;
#endif
if (to->to_flags & TOF_SACK)