> From: Dan Carpenter [mailto:[email protected]] > Sent: Friday, July 05, 2013 3:19 AM > To: Ryan Mallon > Cc: Matt Porter; Bounine, Alexandre; [email protected]; > [email protected] > Subject: Re: [patch] rapidio: use after free in unregister function > > On Fri, Jul 05, 2013 at 05:06:14PM +1000, Ryan Mallon wrote: > > On 05/07/13 16:02, Dan Carpenter wrote: > > It looks like an mport_id can only be assigned to one scan entry (see > > rio_register_scan), so you can use list_for_each_entry and break; > after > > the kfree(scan); instead. > > Yeah. You're right. I'll resend. > > regards, > dan carpenter
Thank you for catching it. Missed it because we have only one enumerator so far. Alex. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

