From owner-cvs-src@FreeBSD.ORG Thu Sep 2 18:37:52 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8D8116A4CE; Thu, 2 Sep 2004 18:37:52 +0000 (GMT) Received: from daintree.corp.yahoo.com (daintree.corp.yahoo.com [216.145.52.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id C656543D41; Thu, 2 Sep 2004 18:37:52 +0000 (GMT) (envelope-from peter@yahoo-inc.com) Received: by daintree.corp.yahoo.com (Postfix, from userid 2154) id B53AA8803; Thu, 2 Sep 2004 11:37:52 -0700 (PDT) From: Peter Wemm To: Brooks Davis Date: Thu, 2 Sep 2004 11:37:52 -0700 User-Agent: KMail/1.6.2 References: <200409011822.i81IMERb017602@repoman.freebsd.org> In-Reply-To: <200409011822.i81IMERb017602@repoman.freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200409021137.52410.peter@wemm.org> cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/ifconfig ifconfig.c src/sys/net if.c if.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2004 18:37:53 -0000 On Wednesday 01 September 2004 11:22 am, Brooks Davis wrote: > brooks 2004-09-01 18:22:14 UTC > > FreeBSD src repository > > Modified files: > sbin/ifconfig ifconfig.c > sys/net if.c if.h > Log: > Use a spare byte in struct if_data to store the structure size > without increasing it. Add code to ifconfig to use this size to find > the sockaddr_dl after the struct if_data in the routing message. > This allows struct if_data to grow (up to 255 bytes) without breaking > ifconfig. > > Submitted by: peter > > Revision Changes Path > 1.107 +4 -1 src/sbin/ifconfig/ifconfig.c > 1.202 +1 -0 src/sys/net/if.c > 1.90 +1 -0 src/sys/net/if.h I'd like this to get into 5.x if possible too. It'll ease cross-booting of 5.x and 6.x kernels for a while. Granted, that wont be a good thing to do after things diverge more, but for now this will help. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5