Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2008 17:13:14 -0600
From:      James Gritton <jamie@gritton.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: IFNET_WLOCK missing from if_reassign_common
Message-ID:  <487BDD8A.9060300@gritton.org>
In-Reply-To: <487BDC7A.8040606@elischer.org>
References:  <487BD8BE.1040609@gritton.org> <487BDC7A.8040606@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Sure - hopefully the soon to be announced jail_set changes for vimage 
will be pronounced acceptable, and then I can merge them in.

- Jamie


Julian Elischer wrote:
> 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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?487BDD8A.9060300>