Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753598AbaKCS0y (ORCPT ); Mon, 3 Nov 2014 13:26:54 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:33840 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752340AbaKCS0u (ORCPT ); Mon, 3 Nov 2014 13:26:50 -0500 Message-ID: <5457C904.8070203@oracle.com> Date: Mon, 03 Nov 2014 10:27:16 -0800 From: "santosh.shilimkar@oralce.com" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Axel Lin , Santosh Shilimkar CC: Sandeep Nair , linux-arm-kernel , linux-kernel@vger.kernel.org Subject: Re: [PATCH] soc: ti: knav_qmss_queue: Use list_for_each_entry_safe to prevent use after free References: <1414819993.23500.1.camel@phoenix> In-Reply-To: <1414819993.23500.1.camel@phoenix> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: ucsinet22.oracle.com [156.151.31.94] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- Right. Picked up for 3.19. Thanks !! Regards, Santosh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/