Changeset 52618 in vbox for trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
- Timestamp:
- Sep 5, 2014 12:07:29 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
r47484 r52618 5 5 6 6 /* 7 * Copyright (C) 2006-201 3Oracle Corporation7 * Copyright (C) 2006-2014 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 406 406 ASMAtomicXchgPtr((void * volatile *)&pDev->hard_start_xmit, vboxNetFltLinuxStartXmitFilter); 407 407 # endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29) */ 408 RTSpinlockRelease NoInts(pThis->hSpinlock);408 RTSpinlockRelease(pThis->hSpinlock); 409 409 } 410 410 … … 442 442 else 443 443 pOverride = NULL; 444 RTSpinlockRelease NoInts(pThis->hSpinlock);444 RTSpinlockRelease(pThis->hSpinlock); 445 445 446 446 if (pOverride) … … 1465 1465 fFeatures = 0; 1466 1466 1467 RTSpinlockRelease NoInts(pThis->hSpinlock);1467 RTSpinlockRelease(pThis->hSpinlock); 1468 1468 1469 1469 if (pThis->pSwitchPort) … … 1579 1579 RTSpinlockAcquire(pThis->hSpinlock); 1580 1580 ASMAtomicUoWritePtr(&pThis->u.s.pDev, pDev); 1581 RTSpinlockRelease NoInts(pThis->hSpinlock);1581 RTSpinlockRelease(pThis->hSpinlock); 1582 1582 1583 1583 Log(("vboxNetFltLinuxAttachToInterface: Device %p(%s) retained. ref=%d\n", … … 1629 1629 pDev = NULL; /* don't dereference it */ 1630 1630 } 1631 RTSpinlockRelease NoInts(pThis->hSpinlock);1631 RTSpinlockRelease(pThis->hSpinlock); 1632 1632 1633 1633 /* … … 1654 1654 RTSpinlockAcquire(pThis->hSpinlock); 1655 1655 ASMAtomicUoWriteNullPtr(&pThis->u.s.pDev); 1656 RTSpinlockRelease NoInts(pThis->hSpinlock);1656 RTSpinlockRelease(pThis->hSpinlock); 1657 1657 dev_put(pDev); 1658 1658 Log(("vboxNetFltLinuxAttachToInterface: Device %p(%s) released. ref=%d\n", … … 1693 1693 ASMAtomicUoWriteNullPtr(&pThis->u.s.pDev); 1694 1694 } 1695 RTSpinlockRelease NoInts(pThis->hSpinlock);1695 RTSpinlockRelease(pThis->hSpinlock); 1696 1696 1697 1697 if (fRegistered) … … 2028 2028 pDev = ASMAtomicUoReadPtrT(&pThis->u.s.pDev, struct net_device *); 2029 2029 fRegistered = ASMAtomicXchgBool(&pThis->u.s.fRegistered, false); 2030 RTSpinlockRelease NoInts(pThis->hSpinlock);2030 RTSpinlockRelease(pThis->hSpinlock); 2031 2031 2032 2032 if (fRegistered)
Note:
See TracChangeset
for help on using the changeset viewer.