lkml.org 
[lkml]   [2013]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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



    \
     
     \ /
      Last update: 2013-07-05 09:41    [W:2.933 / U:0.048 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site