From owner-svn-src-projects@FreeBSD.ORG Tue Sep 7 17:56:29 2010 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A445D10656AC; Tue, 7 Sep 2010 17:56:29 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 9447A8FC08; Tue, 7 Sep 2010 17:56:29 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o87HuTfu011921; Tue, 7 Sep 2010 17:56:29 GMT (envelope-from attilio@svn.freebsd.org) Received: (from attilio@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o87HuT1C011919; Tue, 7 Sep 2010 17:56:29 GMT (envelope-from attilio@svn.freebsd.org) Message-Id: <201009071756.o87HuT1C011919@svn.freebsd.org> From: Attilio Rao Date: Tue, 7 Sep 2010 17:56:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r212299 - projects/sv/sys/net X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2010 17:56:29 -0000 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]; };