]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[aacraid] Add missing unmap call for SYNC mode
authorluporl <luporl@FreeBSD.org>
Wed, 4 Mar 2020 12:21:38 +0000 (12:21 +0000)
committerluporl <luporl@FreeBSD.org>
Wed, 4 Mar 2020 12:21:38 +0000 (12:21 +0000)
commitc65b9cd23c7b5f33a2e3a4f59ba43e6b245fccca
tree6b6cb9b9d82b4f57c42c918e33cf8d6fb10f82a1
parent9ec4485fb6084d45f802ed1c561a1e09f42a494f
[aacraid] Add missing unmap call for SYNC mode

This issue was observed on a PowerPC64 machine with an Adaptec RAID Controller
with PCI device ID 0x028d. After several read/write operations, the kernel was
panic'ing in bus_dmamap_sync(). This was due to a missing aac_unmap_command()
in the SYNC path.

PR: 237463
Reviewed by: jhibbits
Differential Revision: https://reviews.freebsd.org/D23668
sys/dev/aacraid/aacraid.c