summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2008-08-07 18:33:50 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2008-08-07 18:33:50 +0000
commit76e71e5d29be3210bda129d6c0d31775975a6ff5 (patch)
tree61ebe603937d6d1c04d73adce9ee3cc2f9dc0692 /sys
parent5359963bf6efdcdd58d576c01df2633c7de92de9 (diff)
grow MINCLSIZE to MHLEN + MLEN + 1 again. we shrinked it just before the
release to be on the safe side, now we have 6 months to find remaining offenders misusing MINCLSIZE
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/mbuf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h
index 8b9a2a5e56e..ffa31c10679 100644
--- a/sys/sys/mbuf.h
+++ b/sys/sys/mbuf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbuf.h,v 1.100 2008/07/25 08:53:39 henning Exp $ */
+/* $OpenBSD: mbuf.h,v 1.101 2008/08/07 18:33:49 henning Exp $ */
/* $NetBSD: mbuf.h,v 1.19 1996/02/09 18:25:14 christos Exp $ */
/*
@@ -48,7 +48,7 @@
#define MHLEN (MLEN - sizeof(struct pkthdr)) /* data len w/pkthdr */
/* smallest amount to put in cluster */
-#define MINCLSIZE (MHLEN + 1)
+#define MINCLSIZE (MHLEN + MLEN + 1)
#define M_MAXCOMPRESS (MHLEN / 2) /* max amount to copy for compression */
/* Packet tags structure */