diff options
author | andre <andre@FreeBSD.org> | 2005-09-14 15:06:22 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2005-09-14 15:06:22 +0000 |
commit | 418282b822163a023cb9f20a600c0519bffe8a39 (patch) | |
tree | 96cb23a6bc312a1618b831f882bd27b569b72076 /sys/netinet | |
parent | 218dc5fe971693e97ddd08f983202dcb3439b2be (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/netinet/tcp_syncache.c | 2 |
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) |