summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2008-07-05 12:45:07 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2008-07-05 12:45:07 +0000
commitd8f66231c88c14a36f6f9c87c9c01cbe761920d3 (patch)
tree77320d61e62e59f0ac2520400bc2077a34227ecf
parentcb2da5ae13331852723e660105ac0065a89d0f3e (diff)
use m_freem() instead of MFREE() since we ignore the
mbuf that points to the rest of the chain (if it is a chain). ok blambert@
-rw-r--r--sys/nfs/nfs_srvcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_srvcache.c b/sys/nfs/nfs_srvcache.c
index 0372f5b15a8..9edc8cc4e53 100644
--- a/sys/nfs/nfs_srvcache.c
+++ b/sys/nfs/nfs_srvcache.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_srvcache.c,v 1.18 2008/06/12 20:24:06 blambert Exp $ */
+/* $OpenBSD: nfs_srvcache.c,v 1.19 2008/07/05 12:45:06 thib Exp $ */
/* $NetBSD: nfs_srvcache.c,v 1.12 1996/02/18 11:53:49 fvdl Exp $ */
/*
@@ -217,7 +217,7 @@ nfsrv_getcache(struct nfsrv_descript *nd, struct nfssvc_sock *slp,
if (rp->rc_flag & RC_REPMBUF)
m_freem(rp->rc_reply);
if (rp->rc_flag & RC_NAM)
- MFREE(rp->rc_nam, mb);
+ m_freem(rp->rc_nam);
rp->rc_flag &= (RC_LOCKED | RC_WANTED);
}
TAILQ_INSERT_TAIL(&nfsrvlruhead, rp, rc_lru);