Change check for existence of mbuf->m_ext.ext_free to check of new ext_type

in order to determine whether the ext_buf is a cluster, or some other type
of storage.

Reviewed by: jlemon
This commit is contained in:
bmilekic 2000-11-11 23:01:44 +00:00
parent a7772ecabd
commit 41a2af4aa7

View File

@ -1827,7 +1827,7 @@ STATIC int en_makeexclusive(sc, mm, prev)
m = *mm;
if (m->m_flags & M_EXT) {
if (m->m_ext.ext_free) {
if (m->m_ext.ext_type != EXT_CLUSTER) {
/* external buffer isn't an ordinary mbuf cluster! */
printf("%s: mfix: special buffer! can't make a copy!\n",
sc->sc_dev.dv_xname);