Thread (6 messages) 6 messages, 5 authors, 2022-11-30

Re: [PATCH] cxl: Fix refcount leak in cxl_calc_capp_routing

From: Michael Ellerman <hidden>
Date: 2022-11-30 09:33:00
Also in: lkml

On Sun, 5 Jun 2022 10:00:38 +0400, Miaoqian Lin wrote:
of_get_next_parent() returns a node pointer with refcount incremented,
we should use of_node_put() on it when not need anymore.
This function only calls of_node_put() in normal path,
missing it in the error path.
Add missing of_node_put() to avoid refcount leak.


[...]
Applied to powerpc/next.

[1/1] cxl: Fix refcount leak in cxl_calc_capp_routing
      https://git.kernel.org/powerpc/c/1d09697ff22908ae487fc8c4fbde1811732be523

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help