Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jan 2009 20:40:19 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r186970 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb netgraph
Message-ID:  <200901092040.n09KeJtY067940@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Fri Jan  9 20:40:19 2009
New Revision: 186970
URL: http://svn.freebsd.org/changeset/base/186970

Log:
  MFC rev. 185182
  
  Fix typo. Clear session stats instead of config and part of stats.
  
  Found with:	Coverity Prevent(tm)
  CID:		2472

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)
  stable/7/sys/dev/ath/ath_hal/   (props changed)
  stable/7/sys/dev/cxgb/   (props changed)
  stable/7/sys/netgraph/ng_l2tp.c

Modified: stable/7/sys/netgraph/ng_l2tp.c
==============================================================================
--- stable/7/sys/netgraph/ng_l2tp.c	Fri Jan  9 20:38:21 2009	(r186969)
+++ stable/7/sys/netgraph/ng_l2tp.c	Fri Jan  9 20:40:19 2009	(r186970)
@@ -733,7 +733,7 @@ ng_l2tp_reset_session(hook_p hook, void 
 	if (hpriv != NULL) {
 		hpriv->conf.control_dseq = 0;
 		hpriv->conf.enable_dseq = 0;
-		bzero(&hpriv->conf, sizeof(struct ng_l2tp_session_stats));
+		bzero(&hpriv->stats, sizeof(struct ng_l2tp_session_stats));
 		hpriv->nr = 0;
 		hpriv->ns = 0;
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901092040.n09KeJtY067940>