Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153938138
D35964.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
470 B
Referenced Files
None
Subscribers
None
D35964.diff
View Options
diff --git a/sys/net/altq/altq_hfsc.c b/sys/net/altq/altq_hfsc.c
--- a/sys/net/altq/altq_hfsc.c
+++ b/sys/net/altq/altq_hfsc.c
@@ -514,9 +514,9 @@
if ((p = parent->cl_children) == NULL)
parent->cl_children = cl;
else {
- while (p->cl_siblings != NULL)
- p = p->cl_siblings;
- p->cl_siblings = cl;
+ /* Put new class at beginning of list */
+ cl->cl_siblings = parent->cl_children;
+ parent->cl_children = cl;
}
}
IFQ_UNLOCK(hif->hif_ifq);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 25, 10:58 PM (10 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32143866
Default Alt Text
D35964.diff (470 B)
Attached To
Mode
D35964: Improve pfctl configuration load time for large numbers of queues
Attached
Detach File
Event Timeline
Log In to Comment