diff options
author | julian <julian@FreeBSD.org> | 2004-06-07 22:11:12 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2004-06-07 22:11:12 +0000 |
commit | 241cef49c32e27fb3f6a00e7125f893eb49fc455 (patch) | |
tree | 625261bb44336f8790d5844c5b6ede17a4358e59 /sys/netgraph | |
parent | db4692c79005c52547cd6829e2bd5754b489f9db (diff) | |
download | FreeBSD-src-241cef49c32e27fb3f6a00e7125f893eb49fc455.zip FreeBSD-src-241cef49c32e27fb3f6a00e7125f893eb49fc455.tar.gz |
Now that mbufs are allocated using uma,
don't check for accidental usage of mbuf 'how' flags as
they are the same thing.
Diffstat (limited to 'sys/netgraph')
-rw-r--r-- | sys/netgraph/ng_message.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/netgraph/ng_message.h b/sys/netgraph/ng_message.h index 4a5f479..715d114 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) \ |