Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2009 02:48:53 +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: r192415 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb netgraph/netflow
Message-ID:  <200905200248.n4K2mrKF016736@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Wed May 20 02:48:53 2009
New Revision: 192415
URL: http://svn.freebsd.org/changeset/base/192415

Log:
  MFC rev. 192032
  
  Fix copy-paste bug in NGM_NETFLOW_SETCONFIG argument size verification.
  
  PR:		kern/134220
  Submitted by:	Eugene Mychlo

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/netflow/ng_netflow.c

Modified: stable/7/sys/netgraph/netflow/ng_netflow.c
==============================================================================
--- stable/7/sys/netgraph/netflow/ng_netflow.c	Wed May 20 02:24:09 2009	(r192414)
+++ stable/7/sys/netgraph/netflow/ng_netflow.c	Wed May 20 02:48:53 2009	(r192415)
@@ -422,7 +422,7 @@ ng_netflow_rcvmsg (node_p node, item_p i
 		{
 			struct ng_netflow_setconfig *set;
 
-			if (msg->header.arglen != sizeof(struct ng_netflow_settimeouts))
+			if (msg->header.arglen != sizeof(struct ng_netflow_setconfig))
 				ERROUT(EINVAL);
 
 			set = (struct ng_netflow_setconfig *)msg->data;



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