summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcmetz <cmetz@cvs.openbsd.org>1999-05-14 02:12:30 +0000
committercmetz <cmetz@cvs.openbsd.org>1999-05-14 02:12:30 +0000
commitee4a5420505bd1a8c7d4737cf4ba37d160320d81 (patch)
treeab60883b2222adfa580f557d4079628169d54026
parentba83c4b8e6834269e7f509592f7ff7b4a2e638d7 (diff)
OpenBSD has no ext_func, so that test is bogus.
-rw-r--r--sys/kern/uipc_mbuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
index 8caae143a33..249d2396687 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_mbuf.c,v 1.11 1999/05/14 02:05:42 cmetz Exp $ */
+/* $OpenBSD: uipc_mbuf.c,v 1.12 1999/05/14 02:12:29 cmetz Exp $ */
/* $NetBSD: uipc_mbuf.c,v 1.15.4.1 1996/06/13 17:11:44 cgd Exp $ */
/*
@@ -860,7 +860,7 @@ m_zero(m)
sizeof(struct pkthdr), MHLEN);
else
bzero((void *)m + sizeof(struct m_hdr), MLEN);
- if ((m->m_flags & M_EXT) && !m->m_ext.ext_func &&
+ if ((m->m_flags & M_EXT) &&
!mclrefcnt[mtocl((m)->m_ext.ext_buf)])
bzero(m->m_ext.ext_buf, m->m_ext.ext_size);
m = m->m_next;