summaryrefslogtreecommitdiffstats
path: root/sys/dev/patm
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/patm')
-rw-r--r--sys/dev/patm/if_patm_rx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/patm/if_patm_rx.c b/sys/dev/patm/if_patm_rx.c
index 1a012a9..b972e3c 100644
--- a/sys/dev/patm/if_patm_rx.c
+++ b/sys/dev/patm/if_patm_rx.c
@@ -405,11 +405,11 @@ patm_rcv_mbuf(struct patm_softc *sc, void *buf, u_int h, int hdr)
}
if ((h & ~MBUF_HMASK) == MBUF_VHANDLE) {
- m_extadd(m, (caddr_t)buf, VMBUF_SIZE, mbp_ext_free,
+ MEXTADD(m, (caddr_t)buf, VMBUF_SIZE, mbp_ext_free,
sc->vbuf_pool, M_PKTHDR, EXT_NET_DRV);
m->m_data += VMBUF_OFFSET;
} else {
- m_extadd(m, (caddr_t)buf, SMBUF_SIZE, mbp_ext_free,
+ MEXTADD(m, (caddr_t)buf, SMBUF_SIZE, mbp_ext_free,
sc->sbuf_pool, M_PKTHDR, EXT_NET_DRV);
m->m_data += SMBUF_OFFSET;
}
OpenPOWER on IntegriCloud