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 <sta...@vger.kernel.org> know about it.
> 
> 
> 
> commit d95e5d7f77bae4d48a66cda1341c934790898c67
> Author: Wei Yongjun <weiyongj...@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

Reply via email to