IFNET_WLOCK missing from if_reassign_common
James Gritton
jamie at gritton.org
Mon Jul 14 23:13:23 UTC 2008
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?
More information about the freebsd-virtualization
mailing list