Date: Mon, 14 Jul 2008 16:08:42 -0700 From: Julian Elischer <julian@elischer.org> To: James Gritton <jamie@gritton.org> Cc: freebsd-virtualization@freebsd.org Subject: Re: IFNET_WLOCK missing from if_reassign_common Message-ID: <487BDC7A.8040606@elischer.org> In-Reply-To: <487BD8BE.1040609@gritton.org> References: <487BD8BE.1040609@gritton.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?487BDC7A.8040606>