Page MenuHomeFreeBSD

D36643.diff
No OneTemporary

D36643.diff

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

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)

Event Timeline