[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ea7bf7e2-ca5c-5618-10b2-e62c8149dfab@redhat.com>
Date: Wed, 11 Oct 2017 17:30:08 +0200
From: Tomas Henzl <thenzl@...hat.com>
To: Sreekanth Reddy <sreekanth.reddy@...adcom.com>,
linux-scsi@...r.kernel.org, hch@...radead.org
Cc: martin.petersen@...cle.com, JBottomley@...allels.com,
Sathya.Prakash@...adcom.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 02/10] mpt3sas: Fixed memory leaks in driver
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@...adcom.com>
Signed-off-by: Tomas Henzl <thenzl@...hat.com>
Tomas
Powered by blists - more mailing lists