From: henning Date: Thu, 7 Aug 2008 18:33:49 +0000 (+0000) Subject: grow MINCLSIZE to MHLEN + MLEN + 1 again. we shrinked it just before the X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ba291620b054df8a66da777aca7332f90b207ebe;p=openbsd 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 --- 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 */