svn commit: r192415 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb netgraph/netflow

Alexander Motin mav at FreeBSD.org
Wed May 20 02:48:54 UTC 2009


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;


More information about the svn-src-stable-7 mailing list