svn commit: r213768 - projects/sv/sys/net

Attilio Rao attilio at FreeBSD.org
Wed Oct 13 11:23:28 UTC 2010


Author: attilio
Date: Wed Oct 13 11:23:27 2010
New Revision: 213768
URL: http://svn.freebsd.org/changeset/base/213768

Log:
  In HEAD, don't use the spare but just add the member at the right place.

Modified:
  projects/sv/sys/net/if_var.h

Modified: projects/sv/sys/net/if_var.h
==============================================================================
--- projects/sv/sys/net/if_var.h	Wed Oct 13 11:04:55 2010	(r213767)
+++ projects/sv/sys/net/if_var.h	Wed Oct 13 11:23:27 2010	(r213768)
@@ -197,6 +197,7 @@ struct ifnet {
 	void	*if_pf_kif;
 	void	*if_lagg;		/* lagg glue */
 	u_char	 if_alloctype;		/* if_type at time of allocation */
+	struct	netdump_methods *if_ndumpfuncs; /* netdump virtual methods */
 
 	/*
 	 * Spare fields are added so that we can modify sensitive data
@@ -205,8 +206,7 @@ struct ifnet {
 	 */
 	char	 if_cspare[3];
 	char	*if_description;	/* interface description */
-	struct	netdump_methods *if_ndumpfuncs; /* netdump virtual methods */
-	void	*if_pspare[6];
+	void	*if_pspare[7];
 	int	if_ispare[4];
 };
 


More information about the svn-src-projects mailing list