summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/nfs/nfs_subs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_subs.c b/sys/nfs/nfs_subs.c
index d420b98b291..d395001f24d 100644
--- a/sys/nfs/nfs_subs.c
+++ b/sys/nfs/nfs_subs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_subs.c,v 1.72 2008/04/18 06:42:20 djm Exp $ */
+/* $OpenBSD: nfs_subs.c,v 1.73 2008/04/19 19:38:00 thib Exp $ */
/* $NetBSD: nfs_subs.c,v 1.27.4.3 1996/07/08 20:34:24 jtc Exp $ */
/*
@@ -536,7 +536,7 @@ nfsm_reqh(vp, procid, hsiz, bposp)
caddr_t bpos;
MGET(mb, M_WAIT, MT_DATA);
- if (hsiz >= MINCLSIZE)
+ if (hsiz > MLEN)
MCLGET(mb, M_WAIT);
mb->m_len = 0;
bpos = mtod(mb, caddr_t);