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. > > Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Signed-off-by: Emilio López <emilio@xxxxxxxxxxxxx> Acked-by: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx> Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Attachment:
signature.asc
Description: Digital signature