diff options
-rw-r--r-- | sys/dev/sk/if_sk.c | 2 | ||||
-rw-r--r-- | sys/dev/ti/if_ti.c | 2 | ||||
-rw-r--r-- | sys/pci/if_sk.c | 2 | ||||
-rw-r--r-- | sys/pci/if_ti.c | 2 | ||||
-rw-r--r-- | sys/pci/if_wb.c | 3 |
5 files changed, 6 insertions, 5 deletions
diff --git a/sys/dev/sk/if_sk.c b/sys/dev/sk/if_sk.c index b2ee64a..befe974 100644 --- a/sys/dev/sk/if_sk.c +++ b/sys/dev/sk/if_sk.c @@ -699,7 +699,7 @@ static int sk_newbuf(sc_if, c, m) /* Attach the buffer to the mbuf */ MEXTADD(m_new, buf, SK_JLEN, sk_jfree, - (struct sk_if_softc *)sc_if); + (struct sk_if_softc *)sc_if, 0, EXT_NET_DRV); m_new->m_data = (void *)buf; m_new->m_pkthdr.len = m_new->m_len = SK_JLEN; } else { diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c index 6cf8632..1a88f0d 100644 --- a/sys/dev/ti/if_ti.c +++ b/sys/dev/ti/if_ti.c @@ -815,7 +815,7 @@ static int ti_newbuf_jumbo(sc, i, m) m_new->m_data = (void *) buf; m_new->m_len = m_new->m_pkthdr.len = TI_JUMBO_FRAMELEN; MEXTADD(m_new, buf, TI_JUMBO_FRAMELEN, ti_jfree, - (struct ti_softc *)sc); + (struct ti_softc *)sc, 0, EXT_NET_DRV); } else { m_new = m; m_new->m_data = m_new->m_ext.ext_buf; diff --git a/sys/pci/if_sk.c b/sys/pci/if_sk.c index b2ee64a..befe974 100644 --- a/sys/pci/if_sk.c +++ b/sys/pci/if_sk.c @@ -699,7 +699,7 @@ static int sk_newbuf(sc_if, c, m) /* Attach the buffer to the mbuf */ MEXTADD(m_new, buf, SK_JLEN, sk_jfree, - (struct sk_if_softc *)sc_if); + (struct sk_if_softc *)sc_if, 0, EXT_NET_DRV); m_new->m_data = (void *)buf; m_new->m_pkthdr.len = m_new->m_len = SK_JLEN; } else { diff --git a/sys/pci/if_ti.c b/sys/pci/if_ti.c index 6cf8632..1a88f0d 100644 --- a/sys/pci/if_ti.c +++ b/sys/pci/if_ti.c @@ -815,7 +815,7 @@ static int ti_newbuf_jumbo(sc, i, m) m_new->m_data = (void *) buf; m_new->m_len = m_new->m_pkthdr.len = TI_JUMBO_FRAMELEN; MEXTADD(m_new, buf, TI_JUMBO_FRAMELEN, ti_jfree, - (struct ti_softc *)sc); + (struct ti_softc *)sc, 0, EXT_NET_DRV); } else { m_new = m; m_new->m_data = m_new->m_ext.ext_buf; diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c index 1dcb547..bb93b3f 100644 --- a/sys/pci/if_wb.c +++ b/sys/pci/if_wb.c @@ -1106,7 +1106,8 @@ static int wb_newbuf(sc, c, m) } m_new->m_data = c->wb_buf; m_new->m_pkthdr.len = m_new->m_len = WB_BUFBYTES; - MEXTADD(m_new, c->wb_buf, WB_BUFBYTES, wb_bfree, NULL); + MEXTADD(m_new, c->wb_buf, WB_BUFBYTES, wb_bfree, NULL, 0, + EXT_NET_DRV); } else { m_new = m; m_new->m_len = m_new->m_pkthdr.len = WB_BUFBYTES; |