Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet fix a typo in rev.1.283, which broke tcp dupack ...



details:   https://anonhg.NetBSD.org/src/rev/2adf49196a40
branches:  trunk
changeset: 763044:2adf49196a40
user:      yamt <yamt%NetBSD.org@localhost>
date:      Wed Mar 09 00:44:23 2011 +0000

description:
fix a typo in rev.1.283, which broke tcp dupack and duppack statistics.

diffstat:

 sys/netinet/tcp_input.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c89d7a038325 -r 2adf49196a40 sys/netinet/tcp_input.c
--- a/sys/netinet/tcp_input.c   Tue Mar 08 23:55:19 2011 +0000
+++ b/sys/netinet/tcp_input.c   Wed Mar 09 00:44:23 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tcp_input.c,v 1.306 2010/12/02 19:07:27 plunky Exp $   */
+/*     $NetBSD: tcp_input.c,v 1.307 2011/03/09 00:44:23 yamt Exp $     */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -145,7 +145,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.306 2010/12/02 19:07:27 plunky Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.307 2011/03/09 00:44:23 yamt Exp $");
 
 #include "opt_inet.h"
 #include "opt_ipsec.h"
@@ -2344,7 +2344,7 @@
 
                if (SEQ_LEQ(th->th_ack, tp->snd_una)) {
                        if (tlen == 0 && !dupseg && tiwin == tp->snd_wnd) {
-                               TCP_STATINC(TCP_STAT_RCVDUPPACK);
+                               TCP_STATINC(TCP_STAT_RCVDUPACK);
                                /*
                                 * If we have outstanding data (other than
                                 * a window probe), this is a completely



Home | Main Index | Thread Index | Old Index