[PATCH] fix dmaengine_unmap failure.

Dan Williams dan.j.williams at intel.com
Wed Mar 19 04:13:36 EST 2014


On Tue, Mar 18, 2014 at 1:32 AM,  <xuelin.shi at freescale.com> wrote:
> From: Xuelin Shi <xuelin.shi at freescale.com>
>
> The count which is used to get_unmap_data maybe not the same as the
> count computed in dmaengine_unmap which causes to free data in a
> wrong pool.
>
> This patch fixes this issue by keeping the pool in unmap_data
> structure.

Won't this free the entire count anyways?  In what scenario is the
count different at unmap?


More information about the Linuxppc-dev mailing list