summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_syncache.c
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2005-09-14 15:06:22 +0000
committerandre <andre@FreeBSD.org>2005-09-14 15:06:22 +0000
commit418282b822163a023cb9f20a600c0519bffe8a39 (patch)
tree96cb23a6bc312a1618b831f882bd27b569b72076 /sys/netinet/tcp_syncache.c
parent218dc5fe971693e97ddd08f983202dcb3439b2be (diff)
downloadFreeBSD-src-418282b822163a023cb9f20a600c0519bffe8a39.zip
FreeBSD-src-418282b822163a023cb9f20a600c0519bffe8a39.tar.gz
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
Diffstat (limited to 'sys/netinet/tcp_syncache.c')
-rw-r--r--sys/netinet/tcp_syncache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c
index b397083..a14a855 100644
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -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)
OpenPOWER on IntegriCloud