tcp_output: as a comment in tcp_sack_newack says, actually send
one or two segments on partial acks. even if sack_bytes_rxmt==0, if we are in fast recovory with sack, snd_cwnd has somewhat special meaning here. PR/34749.
This commit is contained in:
parent
787b5230f5
commit
389488e9b6
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: tcp_output.c,v 1.149 2006/10/09 16:27:07 rpaulo Exp $ */
|
/* $NetBSD: tcp_output.c,v 1.150 2006/10/17 11:11:40 yamt Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
||||||
@ -142,7 +142,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: tcp_output.c,v 1.149 2006/10/09 16:27:07 rpaulo Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: tcp_output.c,v 1.150 2006/10/17 11:11:40 yamt Exp $");
|
||||||
|
|
||||||
#include "opt_inet.h"
|
#include "opt_inet.h"
|
||||||
#include "opt_ipsec.h"
|
#include "opt_ipsec.h"
|
||||||
@ -809,7 +809,7 @@ again:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (sack_rxmit == 0) {
|
if (sack_rxmit == 0) {
|
||||||
if (sack_bytes_rxmt != 0) {
|
if (TCP_SACK_ENABLED(tp) && tp->t_partialacks >= 0) {
|
||||||
long cwin;
|
long cwin;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user