diff options
author | ps <ps@FreeBSD.org> | 2005-04-14 20:09:52 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2005-04-14 20:09:52 +0000 |
commit | 2bf55008502e9691ab3ace062d854f1b10ba3667 (patch) | |
tree | 192aa6db528a920e2c180a45540eef55e2e4379f /sys/netinet/tcp_var.h | |
parent | 73d2098d76ba5faed40c4fbc11258fb04f02aa56 (diff) | |
download | FreeBSD-src-2bf55008502e9691ab3ace062d854f1b10ba3667.zip FreeBSD-src-2bf55008502e9691ab3ace062d854f1b10ba3667.tar.gz |
Fix for a TCP SACK bug where more than (win/2) bytes could have been
in flight in SACK recovery.
Found by: Noritoshi Demizu
Submitted by: Mohan Srinivasan <mohans at yahoo-inc dot com>
Noritoshi Demizu <demizu at dd dot ij4u dot or dot jp>
Raja Mukerji <raja at moselle dot com>
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r-- | sys/netinet/tcp_var.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h index 252d3b0..26e410e 100644 --- a/sys/netinet/tcp_var.h +++ b/sys/netinet/tcp_var.h @@ -579,6 +579,7 @@ void tcp_del_sackholes(struct tcpcb *, struct tcphdr *); void tcp_clean_sackreport(struct tcpcb *tp); void tcp_sack_adjust(struct tcpcb *tp); struct sackhole *tcp_sack_output(struct tcpcb *tp, int *sack_bytes_rexmt); +int tcp_sacked_bytes(struct tcpcb *tp, int *lost_not_rexmitted); void tcp_sack_partialack(struct tcpcb *, struct tcphdr *); void tcp_free_sackholes(struct tcpcb *tp); int tcp_newreno(struct tcpcb *, struct tcphdr *); |