summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2004-09-17 20:17:30 +0000
committerderaadt <deraadt@openbsd.org>2004-09-17 20:17:30 +0000
commit3ed7fdde22534ff7497d7e2248b943824d74ba8c (patch)
tree178718cbb4c2e22616165896d7b30dfc391b1ef5
parentNow that we can check for pmap_extract() failure properly, do so. (diff)
downloadwireguard-openbsd-3ed7fdde22534ff7497d7e2248b943824d74ba8c.tar.xz
wireguard-openbsd-3ed7fdde22534ff7497d7e2248b943824d74ba8c.zip
move MINCLSIZE back to preferring clusters; there is some fallout because
the other parts of this were not done. This is a conservative decision for this release.
-rw-r--r--sys/sys/mbuf.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h
index 16e31527dcc..c2e8d876eac 100644
--- a/sys/sys/mbuf.h
+++ b/sys/sys/mbuf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbuf.h,v 1.76 2004/06/22 22:46:30 millert Exp $ */
+/* $OpenBSD: mbuf.h,v 1.77 2004/09/17 20:17:30 deraadt Exp $ */
/* $NetBSD: mbuf.h,v 1.19 1996/02/09 18:25:14 christos Exp $ */
/*
@@ -49,8 +49,7 @@
#define MLEN (MSIZE - sizeof(struct m_hdr)) /* normal data len */
#define MHLEN (MLEN - sizeof(struct pkthdr)) /* data len w/pkthdr */
-/* smallest amount to put in cluster */
-#define MINCLSIZE (MHLEN + MLEN + 1)
+#define MINCLSIZE (MHLEN + 1) /* smallest amount to put in cluster */
#define M_MAXCOMPRESS (MHLEN / 2) /* max amount to copy for compression */
/* Packet tags structure */