summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/write_disk.c
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2003-02-04 16:30:27 +0000
committerharti <harti@FreeBSD.org>2003-02-04 16:30:27 +0000
commit570156f24c833c50ded55e900b5d6284fc04ccee (patch)
tree456b763a94213088811e390d3dfe4a45d7fa5de6 /lib/libdisk/write_disk.c
parent865d0cfd1290a3611baf60c7619c4fca51305464 (diff)
downloadFreeBSD-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/write_disk.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud