Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102627162
D36643.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
D36643.diff
View Options
diff --git a/sys/kern/kern_mbuf.c b/sys/kern/kern_mbuf.c
--- a/sys/kern/kern_mbuf.c
+++ b/sys/kern/kern_mbuf.c
@@ -478,7 +478,7 @@
int i;
for (i = 0; i < count; i++) {
- m = m_get(MT_DATA, M_NOWAIT);
+ m = m_get(M_NOWAIT, MT_DATA);
if (m == NULL)
break;
clust = uma_zalloc(dn_zone_clust, M_NOWAIT);
@@ -621,7 +621,7 @@
NULL, UMA_ZONE_NOBUCKET);
while (nmbuf-- > 0) {
- m = m_get(MT_DATA, M_WAITOK);
+ m = m_get(M_WAITOK, MT_DATA);
uma_zfree(dn_zone_mbuf, m);
}
while (nclust-- > 0) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 12:45 AM (21 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14650096
Default Alt Text
D36643.diff (522 B)
Attached To
Mode
D36643: debugnet: Fix parameter order in the calls to m_get().
Attached
Detach File
Event Timeline
Log In to Comment