Changeset 13740 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Nov 3, 2008 5:34:30 AM (16 years ago)
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/if.c
r13738 r13740 342 342 #endif 343 343 VBOX_SLIRP_LOCK(ifm->m_mutex); 344 VBOX_SLIRP_UNLOCK(pData->if_fastq_mutex); 344 345 } else { 345 346 VBOX_SLIRP_UNLOCK(pData->if_fastq_mutex); … … 356 357 next_m = ifm->ifq_next; 357 358 VBOX_SLIRP_UNLOCK(pData->next_m_mutex); 358 } 359 #ifdef VBOX_WITH_SYNC_SLIRP 359 VBOX_SLIRP_UNLOCK(pData->if_batchq_mutex); 360 } 360 361 VBOX_SLIRP_LOCK(ifm->m_mutex); 361 362 VBOX_SLIRP_LOCK(pData->if_queued_mutex); 363 #ifdef VBOX_WITH_SYNC_SLIRP 362 364 if (if_queued == 0) { 363 365 if (on_fast) { 364 VBOX_SLIRP_ UNLOCK(pData->if_fastq_mutex);366 VBOX_SLIRP_LOCK(pData->if_fastq_mutex); 365 367 }else { 366 VBOX_SLIRP_ UNLOCK(pData->if_batchq_mutex);368 VBOX_SLIRP_LOCK(pData->if_batchq_mutex); 367 369 } 368 370 goto done; -
trunk/src/VBox/Devices/Network/slirp/slirp.c
r13739 r13740 761 761 VBOX_SLIRP_LOCK(pData->if_queued_mutex); 762 762 if (if_queued > 0){ 763 VBOX_SLIRP_UNLOCK(pData->if_queued_mutex);763 VBOX_SLIRP_UNLOCK(pData->if_queued_mutex); 764 764 if_start(pData); 765 765 } 766 766 else { 767 VBOX_SLIRP_UNLOCK(pData->if_queued_mutex);767 VBOX_SLIRP_UNLOCK(pData->if_queued_mutex); 768 768 } 769 769 }
Note:
See TracChangeset
for help on using the changeset viewer.