IFNET_WLOCK missing from if_reassign_common

Julian Elischer julian at elischer.org
Mon Jul 14 23:10:27 UTC 2008


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe at freebsd.org"



More information about the freebsd-virtualization mailing list