[vbox-dev] [Patch] Fix locking problems in vboxnetflt for FreeBSD

Fredrik Lindberg fli at shapeshifter.se
Sun Oct 11 14:33:18 GMT 2009


Hi

Attached is a patch that fixes a locking problem with the vboxnetflt
module for FreeBSD.  The issue is the possibility that a mutex inside
virtualbox might sleep while a spin lock is held in the FreeBSD network
stack.

The issue was originally reported to the freebsd-emulation mailing list
by Sean Farley.  He confirmed that this patch solved the problem he was
seeing. Additionally the patch has been included in the FreeBSD ports
version of VirtualBox, so it should have gained sufficient testing.

The patch is under the MIT license.

Fredrik
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vboxnetflt-locking.patch
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20091011/e984e0a0/attachment.ksh>


More information about the vbox-dev mailing list