Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F168379982
D14060.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
532 B
Referenced Files
None
Subscribers
None
D14060.diff
View Options
Index: head/sys/net/iflib.c
===================================================================
--- head/sys/net/iflib.c
+++ head/sys/net/iflib.c
@@ -1984,7 +1984,8 @@
if (fl->ifl_sds.ifsd_map != NULL) {
bus_dmamap_t sd_map = fl->ifl_sds.ifsd_map[i];
bus_dmamap_unload(fl->ifl_desc_tag, sd_map);
- bus_dmamap_destroy(fl->ifl_desc_tag, sd_map);
+ if (fl->ifl_rxq->ifr_ctx->ifc_in_detach)
+ bus_dmamap_destroy(fl->ifl_desc_tag, sd_map);
}
if (*sd_m != NULL) {
m_init(*sd_m, M_NOWAIT, MT_DATA, 0);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Aug 28, 9:24 PM (4 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37484321
Default Alt Text
D14060.diff (532 B)
Attached To
Mode
D14060: IFLIB: do not remove dmamap on buffer unload
Attached
Detach File
Event Timeline
Log In to Comment