Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107333846
D32926.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
466 B
Referenced Files
None
Subscribers
None
D32926.diff
View Options
diff --git a/sys/net/iflib.c b/sys/net/iflib.c
--- a/sys/net/iflib.c
+++ b/sys/net/iflib.c
@@ -2634,7 +2634,8 @@
bzero((void *)di->idi_vaddr, di->idi_size);
}
for (i = 0; i < scctx->isc_nrxqsets; i++, rxq++) {
- /* make sure all transmitters have completed before proceeding XXX */
+ gtaskqueue_drain(rxq->ifr_task.gt_taskqueue,
+ &rxq->ifr_task.gt_task);
rxq->ifr_cq_cidx = 0;
for (j = 0, di = rxq->ifr_ifdi; j < sctx->isc_nrxqs; j++, di++)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 13, 3:39 PM (20 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15783656
Default Alt Text
D32926.diff (466 B)
Attached To
Mode
D32926: iflib_stop: drain rx tasks to prevent any data races
Attached
Detach File
Event Timeline
Log In to Comment