Module Name:    src
Committed By:   drochner
Date:           Mon Feb 14 18:49:31 UTC 2011

Modified Files:
        src/sys/netipsec: xform_esp.c

Log Message:
one more botched statistics counter (could increment semi-random locations)


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/netipsec/xform_esp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/netipsec/xform_esp.c
diff -u src/sys/netipsec/xform_esp.c:1.25 src/sys/netipsec/xform_esp.c:1.26
--- src/sys/netipsec/xform_esp.c:1.25	Mon Feb 14 16:34:43 2011
+++ src/sys/netipsec/xform_esp.c	Mon Feb 14 18:49:31 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: xform_esp.c,v 1.25 2011/02/14 16:34:43 drochner Exp $	*/
+/*	$NetBSD: xform_esp.c,v 1.26 2011/02/14 18:49:31 drochner Exp $	*/
 /*	$FreeBSD: src/sys/netipsec/xform_esp.c,v 1.2.2.1 2003/01/24 05:11:36 sam Exp $	*/
 /*	$OpenBSD: ip_esp.c,v 1.69 2001/06/26 06:18:59 angelos Exp $ */
 
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xform_esp.c,v 1.25 2011/02/14 16:34:43 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xform_esp.c,v 1.26 2011/02/14 18:49:31 drochner Exp $");
 
 #include "opt_inet.h"
 #ifdef __FreeBSD__
@@ -983,7 +983,7 @@
 	}
 	ESP_STATINC(ESP_STAT_HIST + sav->alg_enc);
 	if (sav->tdb_authalgxform != NULL)
-		AH_STATINC(sav->alg_auth + sav->alg_auth);
+		AH_STATINC(AH_STAT_HIST + sav->alg_auth);
 
 	/* Release crypto descriptors. */
 	free(tc, M_XDATA);

Reply via email to