[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <401RHS1y6kz9sRX@ozlabs.org>
Date: Wed, 14 Mar 2018 20:28:43 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: wei.guo.simon@...il.com, linuxppc-dev@...ts.ozlabs.org
Cc: Simon Guo <wei.guo.simon@...il.com>, linux-kernel@...r.kernel.org,
linux-pci@...r.kernel.org
Subject: Re: PCI/hotplug: ppc: correct a php_slot usage after free
On Wed, 2018-03-07 at 08:46:04 UTC, wei.guo.simon@...il.com wrote:
> From: Simon Guo <wei.guo.simon@...il.com>
>
> In pnv_php_unregister_one(), pnv_php_put_slot() might kfree
> php_slot structure. But there is pci_hp_deregister() after
> that with php_slot reference.
>
> This patch moves pnv_php_put_slot() to the end of function.
>
> Signed-off-by: Simon Guo <wei.guo.simon@...il.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/97c6f25d5828b497e3e802b1f7c701
cheers
Powered by blists - more mailing lists