[PATCH] dmaengine: sun4i: fix unsafe list iteration

Vinod Koul vinod.koul at intel.com
Tue Sep 29 23:48:17 PDT 2015


On Sun, Sep 13, 2015 at 05:15:53PM -0300, Emilio López wrote:
> Currently, sun4i_dma_free_contract iterates over lists and frees memory
> as it goes through them, causing reads to recently freed memory to
> be performed. Fix this by using the safe version of the iterator, so
> freed memory is not referenced at all.

Applied, thanks

-- 
~Vinod



More information about the linux-arm-kernel mailing list