VirtualBox

Changeset 52946 in vbox for trunk/src/VBox/Devices/USB/linux


Ignore:
Timestamp:
Oct 5, 2014 2:31:20 PM (10 years ago)
Author:
vboxsync
Message:

USBProxyDevice-linux: Hold the critical section while splitting the URB to avoid races while modifying the lists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/USB/linux/USBProxyDevice-linux.cpp

    r52517 r52946  
    15441544            &&  pUrb->cbData >= 8*_1K)
    15451545        {
     1546            rc = usbProxyLinuxUrbQueueSplit(pProxyDev, pUrbLnx, pUrb);
    15461547            RTCritSectLeave(&pDevLnx->CritSect);
    1547             return usbProxyLinuxUrbQueueSplit(pProxyDev, pUrbLnx, pUrb);
     1548            return rc;
    15481549        }
    15491550
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette