diff options
author | ps <ps@FreeBSD.org> | 2004-10-05 18:36:24 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2004-10-05 18:36:24 +0000 |
commit | c8e4aa1cd58a20597b74285a3cc35ea24ba5c47c (patch) | |
tree | bcb9cd585361024879ec2c577e898534dec0d79d /sys/netinet/tcp_subr.c | |
parent | 9536269a6d161e34a72dee84f6df6b4183f51be8 (diff) | |
download | FreeBSD-src-c8e4aa1cd58a20597b74285a3cc35ea24ba5c47c.zip FreeBSD-src-c8e4aa1cd58a20597b74285a3cc35ea24ba5c47c.tar.gz |
- Estimate the amount of data in flight in sack recovery and use it
to control the packets injected while in sack recovery (for both
retransmissions and new data).
- Cleanups to the sack codepaths in tcp_output.c and tcp_sack.c.
- Add a new sysctl (net.inet.tcp.sack.initburst) that controls the
number of sack retransmissions done upon initiation of sack recovery.
Submitted by: Mohan Srinivasan <mohans@yahoo-inc.com>
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r-- | sys/netinet/tcp_subr.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index b0f4e5c..7619916 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -206,11 +206,6 @@ static int tcp_inflight_stab = 20; SYSCTL_INT(_net_inet_tcp_inflight, OID_AUTO, stab, CTLFLAG_RW, &tcp_inflight_stab, 0, "Inflight Algorithm Stabilization 20 = 2 packets"); -SYSCTL_NODE(_net_inet_tcp, OID_AUTO, sack, CTLFLAG_RW, 0, "TCP SACK"); -int tcp_do_sack = 1; -SYSCTL_INT(_net_inet_tcp_sack, OID_AUTO, enable, CTLFLAG_RW, - &tcp_do_sack, 0, "Enable/Disable TCP SACK support"); - uma_zone_t sack_hole_zone; static struct inpcb *tcp_notify(struct inpcb *, int); |