KDASSERT -> KASSERT. This code is fast and useful.
This commit is contained in:
parent
b0e949ed8f
commit
7392e5ed60
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: mbuf.h,v 1.173 2018/01/01 12:09:56 maxv Exp $ */
|
/* $NetBSD: mbuf.h,v 1.174 2018/01/14 17:16:58 maxv Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1996, 1997, 1999, 2001, 2007 The NetBSD Foundation, Inc.
|
* Copyright (c) 1996, 1997, 1999, 2001, 2007 The NetBSD Foundation, Inc.
|
||||||
@ -492,7 +492,7 @@ do { \
|
|||||||
|
|
||||||
#define MCLINITREFERENCE(m) \
|
#define MCLINITREFERENCE(m) \
|
||||||
do { \
|
do { \
|
||||||
KDASSERT(((m)->m_flags & M_EXT) == 0); \
|
KASSERT(((m)->m_flags & M_EXT) == 0); \
|
||||||
(m)->m_ext_ref = (m); \
|
(m)->m_ext_ref = (m); \
|
||||||
(m)->m_ext.ext_refcnt = 1; \
|
(m)->m_ext.ext_refcnt = 1; \
|
||||||
MCLREFDEBUGO((m), __FILE__, __LINE__); \
|
MCLREFDEBUGO((m), __FILE__, __LINE__); \
|
||||||
|
Loading…
Reference in New Issue
Block a user