mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix another bug introduced in r212109. We should unload DMA maps
only after sending the last fragment of a frame so the mbuf pointer also should be stored in the last descriptor index.
This commit is contained in:
parent
181ff3d503
commit
443f331ec5
1 changed files with 1 additions and 1 deletions
|
|
@ -1940,7 +1940,7 @@ sis_encap(struct sis_softc *sc, struct mbuf **m_head)
|
|||
map = txd->tx_dmamap;
|
||||
txd->tx_dmamap = sc->sis_txdesc[prod].tx_dmamap;
|
||||
sc->sis_txdesc[prod].tx_dmamap = map;
|
||||
txd->tx_m = *m_head;
|
||||
sc->sis_txdesc[prod].tx_m = *m_head;
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue