Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105962852
D16882.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
537 B
Referenced Files
None
Subscribers
None
D16882.diff
View Options
Index: head/sys/net/iflib.c
===================================================================
--- head/sys/net/iflib.c
+++ head/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
Tue, Dec 24, 4:21 AM (4 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15584389
Default Alt Text
D16882.diff (537 B)
Attached To
Mode
D16882: Handle case where mbuf == &txq when IFC_QFLUSH is set
Attached
Detach File
Event Timeline
Log In to Comment