m_free -> m_freem
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 21 Apr 2006 13:01:34 +0000 (13:01 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 21 Apr 2006 13:01:34 +0000 (13:01 +0000)
sys/dev/netif/xl/if_xl.c

index 3a8e7bb..b12de8d 100644 (file)
@@ -30,7 +30,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  *
  * $FreeBSD: src/sys/pci/if_xl.c,v 1.72.2.28 2003/10/08 06:01:57 murray Exp $
- * $DragonFly: src/sys/dev/netif/xl/if_xl.c,v 1.43 2005/12/31 14:08:01 sephe Exp $
+ * $DragonFly: src/sys/dev/netif/xl/if_xl.c,v 1.44 2006/04/21 13:01:34 sephe Exp $
  */
 
 /*
@@ -1818,7 +1818,7 @@ xl_dma_free(device_t dev)
                        if (cd->xl_rx_chain[i].xl_mbuf != NULL) {
                                bus_dmamap_unload(sc->xl_mtag,
                                                  cd->xl_rx_chain[i].xl_map);
-                               m_free(cd->xl_rx_chain[i].xl_mbuf);
+                               m_freem(cd->xl_rx_chain[i].xl_mbuf);
                        }
                        bus_dmamap_destroy(sc->xl_mtag,
                                           cd->xl_rx_chain[i].xl_map);
@@ -1830,7 +1830,7 @@ xl_dma_free(device_t dev)
                        if (cd->xl_tx_chain[i].xl_mbuf != NULL) {
                                bus_dmamap_unload(sc->xl_mtag,
                                                  cd->xl_tx_chain[i].xl_map);
-                               m_free(cd->xl_tx_chain[i].xl_mbuf);
+                               m_freem(cd->xl_tx_chain[i].xl_mbuf);
                        }
                        bus_dmamap_destroy(sc->xl_mtag,
                                           cd->xl_tx_chain[i].xl_map);