[RESEND] cxl: Fix leaking pid refs in some error paths
Michael Ellerman
patch-notifications at ellerman.id.au
Wed Oct 26 21:21:08 AEDT 2016
On Fri, 2016-21-10 at 09:23:53 UTC, Vaibhav Jain wrote:
> In some error paths in functions cxl_start_context and
> afu_ioctl_start_work pid references to the current & group-leader tasks
> can leak after they are taken. This patch fixes these error paths to
> release these pid references before exiting the error path.
>
> Fixes: 7b8ad495("cxl: Fix DSI misses when the context owning task exits")
> Cc: stable at vger.kernel.org
> Reviewed-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
> Reported-by: Frederic Barrat <fbarrat at linux.vnet.ibm.com>
> Signed-off-by: Vaibhav Jain <vaibhav at linux.vnet.ibm.com>
> Acked-by: Frederic Barrat <fbarrat at linux.vnet.ibm.com>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/a05b82d5149dfeef05254a11c3636a
cheers
More information about the Linuxppc-dev
mailing list