summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pci/if_ixgb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_ixgb.c b/sys/dev/pci/if_ixgb.c
index 9d1dff79e0d..e2c4a94780f 100644
--- a/sys/dev/pci/if_ixgb.c
+++ b/sys/dev/pci/if_ixgb.c
@@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
-/* $OpenBSD: if_ixgb.c,v 1.39 2008/02/19 18:47:18 brad Exp $ */
+/* $OpenBSD: if_ixgb.c,v 1.40 2008/03/02 08:42:42 brad Exp $ */
#include <dev/pci/if_ixgb.h>
@@ -1496,7 +1496,7 @@ ixgb_get_buf(struct ixgb_softc *sc, int i,
error = bus_dmamap_load_mbuf(sc->rxtag, rx_buffer->map,
mp, BUS_DMA_NOWAIT);
if (error) {
- m_free(mp);
+ m_freem(mp);
return (error);
}
rx_buffer->m_head = mp;