diff options
author | andre <andre@FreeBSD.org> | 2006-02-28 23:05:59 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2006-02-28 23:05:59 +0000 |
commit | 8bb537fa797e0a20081f3e20ee8696b83d766291 (patch) | |
tree | 1370e5c56b588fad6f7a112f1ebe33ac24752e54 /sys/netinet/tcp_syncache.c | |
parent | 3478c467ee4302dfd13af593c68c02bcf15cd5aa (diff) | |
download | FreeBSD-src-8bb537fa797e0a20081f3e20ee8696b83d766291.zip FreeBSD-src-8bb537fa797e0a20081f3e20ee8696b83d766291.tar.gz |
Rework TCP window scaling (RFC1323) to properly scale the send window
right from the beginning and partly clean up the differences in handling
between SYN_SENT and SYN_RCVD (syncache).
Further changes to this code to come. This is a first incremental step
to a general overhaul and streamlining of the TCP code.
PR: kern/15095
PR: kern/92690 (partly)
Reviewed by: qingli (and tested with ANVL)
Sponsored by: TCP/IP Optimization Fundraise 2005
Diffstat (limited to 'sys/netinet/tcp_syncache.c')
-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 f156133..5999b99 100644 --- a/sys/netinet/tcp_syncache.c +++ b/sys/netinet/tcp_syncache.c @@ -682,7 +682,7 @@ syncache_socket(sc, lso, m) tp->t_flags |= TF_NOOPT; if (sc->sc_flags & SCF_WINSCALE) { tp->t_flags |= TF_REQ_SCALE|TF_RCVD_SCALE; - tp->requested_s_scale = sc->sc_requested_s_scale; + tp->snd_scale = sc->sc_requested_s_scale; tp->request_r_scale = sc->sc_request_r_scale; } if (sc->sc_flags & SCF_TIMESTAMP) { |