From owner-freebsd-virtualization@FreeBSD.ORG Mon Jul 14 23:10:26 2008 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E295B106564A for ; Mon, 14 Jul 2008 23:10:26 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outM.internet-mail-service.net (outm.internet-mail-service.net [216.240.47.236]) by mx1.freebsd.org (Postfix) with ESMTP id D95EB8FC21 for ; Mon, 14 Jul 2008 23:10:26 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id C05CC242F; Mon, 14 Jul 2008 16:10:31 -0700 (PDT) Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 0991B2D601B; Mon, 14 Jul 2008 16:10:25 -0700 (PDT) Message-ID: <487BDC7A.8040606@elischer.org> Date: Mon, 14 Jul 2008 16:08:42 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: James Gritton References: <487BD8BE.1040609@gritton.org> In-Reply-To: <487BD8BE.1040609@gritton.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org Subject: Re: IFNET_WLOCK missing from if_reassign_common X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2008 23:10:27 -0000 James Gritton wrote: > In testing jail_set_vimage, I found that moving a network interface > cause a assertion failure in ifnet_setbyindex. It turns out that > if_reassign_common in kern_vimage.c should be locking IFNET_WLOCK. I'm > including a patch that locks it in the same way it's done in if_alloc > (which seems to be the inspiration for much of this code). > > - Jamie cool, Jamie, do you want (write) access to the actual vimage tree in p4? > > > ------------------------------------------------------------------------ > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org"