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:
Bosko Milekic 2000-11-11 23:01:44 +00:00
parent 00e550955e
commit 8bcbe4b7a6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=68616

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);