summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_mbuf.c
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>1999-12-14 02:23:14 +0000
committergreen <green@FreeBSD.org>1999-12-14 02:23:14 +0000
commit92bdda92f42925230e9bc724b4786896f2755e88 (patch)
treef85698ceaf0663a3e1f5f68630e1c29ddab3ce6b /sys/kern/uipc_mbuf.c
parent003a13cc327a75a9c8505597dd8fe28a28152325 (diff)
downloadFreeBSD-src-92bdda92f42925230e9bc724b4786896f2755e88.zip
FreeBSD-src-92bdda92f42925230e9bc724b4786896f2755e88.tar.gz
Bug fix:
The variables "m_mclalloc_wid" and "m_mballoc_wid" were not in the proper place. They should have been in uipc_mbuf.c and have been global, not in mbuf.h and local per each file that uses mbuf.h. Sorta bug fix: In mbuf.h, the definitions of various things for KERNEL and not KERNEL cases were very screwy. This fixes all of that which I could find.
Diffstat (limited to 'sys/kern/uipc_mbuf.c')
-rw-r--r--sys/kern/uipc_mbuf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
index 9650c68..d648f5c 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -66,6 +66,8 @@ int max_hdr;
int max_datalen;
int nmbclusters;
int nmbufs;
+u_int m_mballoc_wid = 0;
+u_int m_clalloc_wid = 0;
SYSCTL_DECL(_kern_ipc);
SYSCTL_INT(_kern_ipc, KIPC_MAX_LINKHDR, max_linkhdr, CTLFLAG_RW,
OpenPOWER on IntegriCloud