linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Patch "scsi: target/core: Use kmem_cache_free() instead of kfree()" has been added to the 4.20-stable tree
       [not found] <20190221054323.53B072086C@mail.kernel.org>
@ 2019-02-21 11:44 ` Greg KH
  0 siblings, 0 replies; only message in thread
From: Greg KH @ 2019-02-21 11:44 UTC (permalink / raw)
  To: linux-kernel; +Cc: weiyongjun1, stable-commits

On Thu, Feb 21, 2019 at 12:43:22AM -0500, Sasha Levin wrote:
> This is a note to let you know that I've just added the patch titled
> 
>     scsi: target/core: Use kmem_cache_free() instead of kfree()
> 
> to the 4.20-stable tree which can be found at:
>     http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
> 
> The filename of the patch is:
>      scsi-target-core-use-kmem_cache_free-instead-of-kfre.patch
> and it can be found in the queue-4.20 subdirectory.
> 
> If you, or anyone else, feels it should not be added to the stable tree,
> please let <stable@vger.kernel.org> know about it.
> 
> 
> 
> commit d95e5d7f77bae4d48a66cda1341c934790898c67
> Author: Wei Yongjun <weiyongjun1@huawei.com>
> Date:   Mon Dec 17 12:19:53 2018 +0000
> 
>     scsi: target/core: Use kmem_cache_free() instead of kfree()
>     
>     [ Upstream commit 8b2db98e814a5ec45e8800fc22ca9000ae0a517b ]
>     
>     memory allocated by kmem_cache_alloc() should be freed using
>     kmem_cache_free(), not kfree().
>     
>     Fixes: ad669505c4e9 ("scsi: target/core: Make sure that target_wait_for_sess_cmds() waits long enough")

Based on this tag, it also needs to go to 4.19.y.  I'll go queue it up
there...

greg k-h

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-02-21 11:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20190221054323.53B072086C@mail.kernel.org>
2019-02-21 11:44 ` Patch "scsi: target/core: Use kmem_cache_free() instead of kfree()" has been added to the 4.20-stable tree Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).