On Wed, Sep 05, 2012 at 03:30:42PM +0300, Dan Carpenter wrote: > list_for_each_entry_reverse() dereferences the iterator, but we already > freed it. Wait a sec, we assign the iterator in each iteration of the loop, right? And if so, I don't see a problem: we derefence a new element each time and *then* free it... -- Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551 -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html