Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148492549
D16882.id47393.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
522 B
Referenced Files
None
Subscribers
None
D16882.id47393.diff
View Options
Index: sys/net/iflib.c
===================================================================
--- sys/net/iflib.c
+++ sys/net/iflib.c
@@ -3636,7 +3636,8 @@
if (__predict_false(ctx->ifc_flags & IFC_QFLUSH)) {
DBG_COUNTER_INC(txq_drain_flushing);
for (i = 0; i < avail; i++) {
- m_free(r->items[(cidx + i) & (r->size-1)]);
+ if (__predict_true(r->items[(cidx + i) & (r->size-1)] != (void *)txq)
+ m_free(r->items[(cidx + i) & (r->size-1)]);
r->items[(cidx + i) & (r->size-1)] = NULL;
}
return (avail);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 19, 5:55 AM (1 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29950379
Default Alt Text
D16882.id47393.diff (522 B)
Attached To
Mode
D16882: Handle case where mbuf == &txq when IFC_QFLUSH is set
Attached
Detach File
Event Timeline
Log In to Comment