summaryrefslogtreecommitdiffstats
path: root/sys/sys/mbuf.h
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2007-04-15 06:30:28 +0000
committerkmacy <kmacy@FreeBSD.org>2007-04-15 06:30:28 +0000
commit3e3198a9661d5d1c3e35abc313ad0d4688c6eea6 (patch)
tree14037318b21d0824128c28aa902974eced9d8868 /sys/sys/mbuf.h
parent99993e123208087a4c982157fcd35e17b69a589a (diff)
downloadFreeBSD-src-3e3198a9661d5d1c3e35abc313ad0d4688c6eea6.zip
FreeBSD-src-3e3198a9661d5d1c3e35abc313ad0d4688c6eea6.tar.gz
back out option to disable packet zone
Requested by: sam
Diffstat (limited to 'sys/sys/mbuf.h')
-rw-r--r--sys/sys/mbuf.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h
index 04273982..10e7915 100644
--- a/sys/sys/mbuf.h
+++ b/sys/sys/mbuf.h
@@ -341,9 +341,7 @@ extern uma_zone_t zone_jumbo9;
extern uma_zone_t zone_jumbo16;
extern uma_zone_t zone_ext_refcnt;
-#ifndef MBUF_PACKET_ZONE_DISABLE
static __inline struct mbuf *m_getcl(int how, short type, int flags);
-#endif
static __inline struct mbuf *m_get(int how, short type);
static __inline struct mbuf *m_gethdr(int how, short type);
static __inline struct mbuf *m_getjcl(int how, short type, int flags,
@@ -453,7 +451,6 @@ m_gethdr(int how, short type)
return ((struct mbuf *)(uma_zalloc_arg(zone_mbuf, &args, how)));
}
-#ifndef MBUF_PACKET_ZONE_DISABLE
static __inline struct mbuf *
m_getcl(int how, short type, int flags)
{
@@ -463,9 +460,6 @@ m_getcl(int how, short type, int flags)
args.type = type;
return ((struct mbuf *)(uma_zalloc_arg(zone_pack, &args, how)));
}
-#else
-#define m_getcl(how, type, flags) m_getjcl(how, type, flags, MCLBYTES)
-#endif
/*
* m_getjcl() returns an mbuf with a cluster of the specified size attached.
OpenPOWER on IntegriCloud