summaryrefslogtreecommitdiffstats
path: root/sys/dev/en
diff options
context:
space:
mode:
authorbmilekic <bmilekic@FreeBSD.org>2000-11-11 23:01:44 +0000
committerbmilekic <bmilekic@FreeBSD.org>2000-11-11 23:01:44 +0000
commit41a2af4aa78cb0838a57ddf63eaf05e17d92e122 (patch)
tree0dc4c5049618c5d67722dc195c4b53a358b755c0 /sys/dev/en
parenta7772ecabd99e13657fa840644a2aecfc02d6d44 (diff)
downloadFreeBSD-src-41a2af4aa78cb0838a57ddf63eaf05e17d92e122.zip
FreeBSD-src-41a2af4aa78cb0838a57ddf63eaf05e17d92e122.tar.gz
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
Diffstat (limited to 'sys/dev/en')
-rw-r--r--sys/dev/en/midway.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/en/midway.c b/sys/dev/en/midway.c
index 2ec8ca9..56558fb 100644
--- a/sys/dev/en/midway.c
+++ b/sys/dev/en/midway.c
@@ -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);
OpenPOWER on IntegriCloud