m_tag_alloc illegally passed the mbuf flags to malloc, hitting the
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 20 Apr 2004 07:35:22 +0000 (07:35 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 20 Apr 2004 07:35:22 +0000 (07:35 +0000)
commit75e4f83b8e27589cf302cb505e284d5f2c5b77ab
treef6938da84cc4577b8d8283fa05b58606299242af
parentb44419cb4460c6e8d4e16a260372e9965b77eecf
m_tag_alloc illegally passed the mbuf flags to malloc, hitting the
diagnostic panic there. Do the same as the other mbuf allocation
routines and check for M_WAIT explicitly.

Reported-by: Richard Nyberg <rnyberg@it.su.se>
sys/kern/uipc_mbuf2.c