- Timestamp:
- Sep 23, 2008 1:52:50 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/solaris/VBoxNetFlt-solaris.c
r12661 r12672 194 194 ddi_prop_op, /* property ops */ 195 195 &g_VBoxNetFltSolarisStreamTab, 196 D_NEW | D_MP | D_MT QPAIR,/* compat. flag */196 D_NEW | D_MP | D_MTPERQ, /* compat. flag */ 197 197 CB_REV /* revision */ 198 198 }; … … 725 725 *ppPrevStream = pStream; 726 726 727 RTSpinlockRelease(pThis->hSpinlock, &Tmp); 727 728 qprocson(pQueue); 728 729 730 /* 731 * Don't hold the spinlocks across putnext calls as it could 732 * (and does mostly) re-enter the put procedure on the same thread. 733 */ 729 734 if (pStream->Type == kPromiscStream) 730 735 { … … 759 764 else 760 765 LogRel((DEVICE_NAME ":vboxNetFltSolarisBindReq failed rc=%Vrc.\n", rc)); 761 762 if (RT_FAILURE(rc))763 {764 RTSpinlockRelease(pThis->hSpinlock, &Tmp);765 return EPROTO;766 }767 766 } 768 767 … … 772 771 LogFlow((DEVICE_NAME ":VBoxNetFltSolarisModOpen returns 0, DevMinor=%d pQueue=%p\n", DevMinor, pStream->pReadQueue)); 773 772 774 RTSpinlockRelease(pThis->hSpinlock, &Tmp);775 773 return 0; 776 774 }
Note:
See TracChangeset
for help on using the changeset viewer.