diff options
author | lstewart <lstewart@FreeBSD.org> | 2009-01-15 06:44:22 +0000 |
---|---|---|
committer | lstewart <lstewart@FreeBSD.org> | 2009-01-15 06:44:22 +0000 |
commit | d5deb43d0fd1476cec4cf2c44126170317fbe5fe (patch) | |
tree | ca77baf06d77eccefad07a0322a1f064ec3ea6d3 /sys/netinet/tcp_timer.c | |
parent | 8e6c149fe3004d4eb2e0a18b523e6a135b498b5f (diff) | |
download | FreeBSD-src-d5deb43d0fd1476cec4cf2c44126170317fbe5fe.zip FreeBSD-src-d5deb43d0fd1476cec4cf2c44126170317fbe5fe.tar.gz |
Add TCP Appropriate Byte Counting (RFC 3465) support to kernel.
The new behaviour is on by default, and can be disabled by setting the
net.inet.tcp.rfc3465 sysctl to 0 to obtain previous behaviour.
The patch changes struct tcpcb in sys/netinet/tcp_var.h which breaks
the ABI. Bump __FreeBSD_version to 800061 accordingly. User space tools
that rely on the size of struct tcpcb (e.g. sockstat) need to be recompiled.
Reviewed by: rpaulo, gnn
Approved by: gnn, kmacy (mentors)
Sponsored by: FreeBSD Foundation
Diffstat (limited to 'sys/netinet/tcp_timer.c')
-rw-r--r-- | sys/netinet/tcp_timer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c index acce92f..6963d9c 100644 --- a/sys/netinet/tcp_timer.c +++ b/sys/netinet/tcp_timer.c @@ -587,6 +587,7 @@ tcp_timer_rexmt(void * xtp) tp->t_dupacks = 0; } EXIT_FASTRECOVERY(tp); + tp->t_bytes_acked = 0; (void) tcp_output(tp); out: |