Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Oct 2010 11:23:28 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r213768 - projects/sv/sys/net
Message-ID:  <201010131123.o9DBNSuo085765@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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];
 };
 



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