Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Sep 2010 17:56:29 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r212299 - projects/sv/sys/net
Message-ID:  <201009071756.o87HuT1C011919@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: attilio
Date: Tue Sep  7 17:56:29 2010
New Revision: 212299
URL: http://svn.freebsd.org/changeset/base/212299

Log:
  Locate the new pointer in the right location in order to avoid ABI
  breakage.
  
  Pointed out by:	emaste

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

Modified: projects/sv/sys/net/if_var.h
==============================================================================
--- projects/sv/sys/net/if_var.h	Tue Sep  7 17:51:23 2010	(r212298)
+++ projects/sv/sys/net/if_var.h	Tue Sep  7 17:56:29 2010	(r212299)
@@ -196,7 +196,6 @@ struct ifnet {
 					/* protected by if_addr_mtx */
 	void	*if_pf_kif;
 	void	*if_lagg;		/* lagg glue */
-	struct	netdump_methods *if_ndumpfuncs; /* netdump virtual methods */
 	u_char	 if_alloctype;		/* if_type at time of allocation */
 
 	/*
@@ -206,6 +205,7 @@ struct ifnet {
 	 */
 	char	 if_cspare[3];
 	char	*if_description;	/* interface description */
+	struct	netdump_methods *if_ndumpfuncs; /* netdump virtual methods */
 	void	*if_pspare[6];
 	int	if_ispare[4];
 };



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