diff options
author | harti <harti@FreeBSD.org> | 2003-02-04 16:30:27 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2003-02-04 16:30:27 +0000 |
commit | 570156f24c833c50ded55e900b5d6284fc04ccee (patch) | |
tree | 456b763a94213088811e390d3dfe4a45d7fa5de6 /lib/libdisk/libdisk.h | |
parent | 865d0cfd1290a3611baf60c7619c4fca51305464 (diff) | |
download | FreeBSD-src-570156f24c833c50ded55e900b5d6284fc04ccee.zip FreeBSD-src-570156f24c833c50ded55e900b5d6284fc04ccee.tar.gz |
Fix a problem in bus_dmamap_load_{mbuf,uio} when the first mbuf or the first
uio segment is empty. In this case no dma segment is create by
bus_dmamap_load_buffer, but the calling routine clears the first flag.
Under certain combinations of addresses of the first and second mbuf/uio
buffer this leads to corrupted DMA segment descriptors. This was already
fixed by tmm in sparc64/sparc64/iommu.c.
PR: kern/47733
Reviewed by: sam
Approved by: jake (mentor)
Diffstat (limited to 'lib/libdisk/libdisk.h')
0 files changed, 0 insertions, 0 deletions