From owner-freebsd-current@FreeBSD.ORG Thu Oct 20 16:49:56 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 467F316A41F for ; Thu, 20 Oct 2005 16:49:56 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 676C043D8A for ; Thu, 20 Oct 2005 16:49:48 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from [10.50.41.234] (Not Verified[10.50.41.234]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Thu, 20 Oct 2005 13:06:22 -0400 From: John Baldwin To: freebsd-current@freebsd.org Date: Thu, 20 Oct 2005 11:15:20 -0400 User-Agent: KMail/1.8.2 References: <41473.192.216.27.32.1129818223.squirrel@192.216.27.32> In-Reply-To: <41473.192.216.27.32.1129818223.squirrel@192.216.27.32> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510201115.21750.jhb@freebsd.org> Cc: Tom McLaughlin Subject: Re: kern/87506 : [PATCH] Fix alias support on vr interfaces X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2005 16:49:56 -0000 On Thursday 20 October 2005 10:23 am, Tom McLaughlin wrote: > Hi, would someone be available to look at kern PR 87506? I found the > problem while building a jail on my 6.0-RC1 box. When setting an alias on > a vr device with ifconfig the alias address replaces the initial address > of the device. marcus@ took a look at the problem for me and provided the > patch for the vr interface which I tested and it resolved the problem. > Without the patch I can't create a jail that is network accessible. > > Marcus also notes in the PR that the rl, sis, ti, and tl may also be > affected by this bug. If anyone has any other questions or needs someone > to test any changes to the patch just let me know. I only have vr > interfaces on my FreeBSD machines though. Thanks. > > Tom I'm not sure that fix is really the right fix. The patch just makes vr(4) ignore changes to if_flags while the driver is up. Probably there is a bug in vr(4)'s handling of alias addresses. I did just reproduce this on my laptop's rl(4) interface though. I'll see if I can't figure out what is happening. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org