Changeset 77124 in vbox
- Timestamp:
- Feb 1, 2019 3:35:59 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 128582
- Location:
- trunk/src/VBox/HostDrivers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetAdp/freebsd/VBoxNetAdp-freebsd.c
r76474 r77124 236 236 while (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) 237 237 { 238 #if __FreeBSD_version >= 1100036 239 if_inc_counter(ifp, IFCOUNTER_OPACKETS, 1); 240 #else 238 241 ifp->if_opackets++; 242 #endif 239 243 IFQ_DRV_DEQUEUE(&ifp->if_snd, m); 240 244 BPF_MTAP(ifp, m); -
trunk/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-freebsd.c
r73097 r77124 371 371 _IF_ENQUEUE(&pThis->u.s.inq, m); 372 372 mtx_unlock_spin(&pThis->u.s.inq.ifq_mtx); 373 #if __FreeBSD_version > 1100100 374 taskqueue_enqueue(taskqueue_fast, &pThis->u.s.tskin); 375 #else 373 376 taskqueue_enqueue_fast(taskqueue_fast, &pThis->u.s.tskin); 377 #endif 374 378 } 375 379 /* … … 389 393 _IF_ENQUEUE(&pThis->u.s.outq, m); 390 394 mtx_unlock_spin(&pThis->u.s.outq.ifq_mtx); 395 #if __FreeBSD_version > 1100100 396 taskqueue_enqueue(taskqueue_fast, &pThis->u.s.tskout); 397 #else 391 398 taskqueue_enqueue_fast(taskqueue_fast, &pThis->u.s.tskout); 399 #endif 392 400 } 393 401 else
Note:
See TracChangeset
for help on using the changeset viewer.