lkml.org 
[lkml]   [2017]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 02/10] mpt3sas: Fixed memory leaks in driver
    From
    Date
    On 10/10/2017 03:11 PM, Sreekanth Reddy wrote:
    > Fixed below memory leak in driver,
    >
    > * While removing Expander devices - we are removing expander
    > device entry from the list before freeing it's child devices,
    > so while freeing child device we are finding its parent device
    > node as NULL and so we are not freeing the child device's
    > allocated data structures.
    > Updated the driver to remove the expander device from the list
    > only after freeing all its child devices.
    >
    > Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@broadcom.com>

    Signed-off-by: Tomas Henzl <thenzl@redhat.com>

    Tomas

    \
     
     \ /
      Last update: 2017-10-11 17:30    [W:4.799 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site