aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph/ng_message.h
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2004-06-07 22:11:12 +0000
committerJulian Elischer <julian@FreeBSD.org>2004-06-07 22:11:12 +0000
commita65d0dc8f28455304a33890b35be87b1a9575692 (patch)
tree625261bb44336f8790d5844c5b6ede17a4358e59 /sys/netgraph/ng_message.h
parent398faf12050b17c407eb9db71cb67166cdb43aff (diff)
Notes
Diffstat (limited to 'sys/netgraph/ng_message.h')
-rw-r--r--sys/netgraph/ng_message.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/netgraph/ng_message.h b/sys/netgraph/ng_message.h
index 4a5f4796cf516..715d1148ef2b0 100644
--- a/sys/netgraph/ng_message.h
+++ b/sys/netgraph/ng_message.h
@@ -371,10 +371,6 @@ struct flow_manager {
*/
#define NG_MKMESSAGE(msg, cookie, cmdid, len, how) \
do { \
- KASSERT(!(how & M_DONTWAIT), \
- ("NG_MKMESSAGE() with how=M_DONTWAIT (%d)\n", how)); \
- KASSERT(!(how & M_TRYWAIT), \
- ("NG_MKMESSAGE() with how=M_TRYWAIT (%d)\n", how)); \
MALLOC((msg), struct ng_mesg *, sizeof(struct ng_mesg) \
+ (len), M_NETGRAPH_MSG, (how) | M_ZERO); \
if ((msg) == NULL) \