svn commit: r212299 - projects/sv/sys/net
Attilio Rao
attilio at FreeBSD.org
Tue Sep 7 17:56:29 UTC 2010
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];
};
More information about the svn-src-projects
mailing list