[PATCH] soc: ti: knav_qmss_queue: Use list_for_each_entry_safe to prevent use after free

santosh.shilimkar@oralce.com santosh.shilimkar at oracle.com
Mon Nov 3 10:27:16 PST 2014


On 10/31/2014 10:33 PM, Axel Lin wrote:
> list_for_each_entry_safe() is necessary if list objects are deleted from
> the list while traversing it.
>
> Signed-off-by: Axel Lin <axel.lin at ingics.com>
> ---

Right. Picked up for 3.19. Thanks !!

Regards,
Santosh



More information about the linux-arm-kernel mailing list