From owner-p4-projects@FreeBSD.ORG Tue May 5 07:25:28 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 556AF1065672; Tue, 5 May 2009 07:25:28 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13F67106564A for ; Tue, 5 May 2009 07:25:28 +0000 (UTC) (envelope-from andre@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 030FA8FC17 for ; Tue, 5 May 2009 07:25:28 +0000 (UTC) (envelope-from andre@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n457PRiN003323 for ; Tue, 5 May 2009 07:25:27 GMT (envelope-from andre@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n457PR7o003321 for perforce@freebsd.org; Tue, 5 May 2009 07:25:27 GMT (envelope-from andre@freebsd.org) Date: Tue, 5 May 2009 07:25:27 GMT Message-Id: <200905050725.n457PR7o003321@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to andre@freebsd.org using -f From: Andre Oppermann To: Perforce Change Reviews Cc: Subject: PERFORCE change 161596 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2009 07:25:29 -0000 http://perforce.freebsd.org/chv.cgi?CH=161596 Change 161596 by andre@andre_t61 on 2009/05/05 07:25:27 Update comments. Affected files ... .. //depot/projects/tcp_new/netinet/tcp_cc_newreno.c#3 edit Differences ... ==== //depot/projects/tcp_new/netinet/tcp_cc_newreno.c#3 (text+ko) ==== @@ -93,6 +93,7 @@ * avoid capping cwnd. * * NB: Make sure to lower bound cwnd to one (two?) segments. + * XXXAO: Upper bound to link-speed to avoid CWND overshooting. */ if (tp->snd_cwnd > tp->snd_ssthresh) { /* Congestion avoidance */ @@ -150,14 +151,14 @@ newreno_post_lr(struct tcpcb *tp, struct tcphdr *th) { /* - * Out of fast recovery. - * Window inflation should have left us - * with approximately snd_ssthresh - * outstanding data. - * But in case we would be inclined to - * send a burst, better to do it via - * the slow start mechanism. - */ + * Out of fast recovery. + * Window inflation should have left us + * with approximately snd_ssthresh + * outstanding data. + * But in case we would be inclined to + * send a burst, better to do it via + * the slow start mechanism. + */ if (th && SEQ_GT(th->th_ack + tp->snd_ssthresh, tp->snd_nxt)) tp->snd_cwnd = tp->snd_nxt - th->th_ack + tp->snd_mss; else