From ba291620b054df8a66da777aca7332f90b207ebe Mon Sep 17 00:00:00 2001 From: henning Date: Thu, 7 Aug 2008 18:33:49 +0000 Subject: [PATCH] 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 --- sys/sys/mbuf.h | 4 ++-- 1 file 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 */ -- 2.20.1