mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 15:40:44 +00:00
Now that mbufs are allocated using uma,
don't check for accidental usage of mbuf 'how' flags as they are the same thing.
This commit is contained in:
parent
398faf1205
commit
a65d0dc8f2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130215
|
@ -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) \
|
||||
|
|
Loading…
Reference in a new issue