diff options
| author | Xin LI <delphij@FreeBSD.org> | 2008-12-19 00:14:45 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2008-12-19 00:14:45 +0000 |
| commit | 2a34c9b7c11a9ab97429dd9ca9dd986608575739 (patch) | |
| tree | 1e51bbff9305123e21bb0099a541a931e979ac34 /sys/dev/bce | |
| parent | b8fdc9892b1e85645dda6038c6984b6dc895bc90 (diff) | |
Notes
Diffstat (limited to 'sys/dev/bce')
| -rw-r--r-- | sys/dev/bce/if_bce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/bce/if_bce.c b/sys/dev/bce/if_bce.c index e31bdd63049e..fd59dad796d6 100644 --- a/sys/dev/bce/if_bce.c +++ b/sys/dev/bce/if_bce.c @@ -5114,7 +5114,7 @@ bce_free_tx_chain(struct bce_softc *sc) /* Unmap, unload, and free any mbufs still in the TX mbuf chain. */ for (i = 0; i < TOTAL_TX_BD; i++) { if (sc->tx_mbuf_ptr[i] != NULL) { - if (sc->tx_mbuf_map != NULL) + if (sc->tx_mbuf_map[i] != NULL) bus_dmamap_sync(sc->tx_mbuf_tag, sc->tx_mbuf_map[i], BUS_DMASYNC_POSTWRITE); m_freem(sc->tx_mbuf_ptr[i]); |
