Files
linux/drivers/net
Miaoqian Lin 0737e018a0 net: dsa: lantiq_gswip: Fix refcount leak in gswip_gphy_fw_list
Every iteration of for_each_available_child_of_node() decrements
the reference count of the previous node.
when breaking early from a for_each_available_child_of_node() loop,
we need to explicitly call of_node_put() on the gphy_fw_np.
Add missing of_node_put() to avoid refcount leak.

Fixes: 14fceff477 ("net: dsa: Add Lantiq / Intel DSA driver for vrx200")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220605072335.11257-1-linmq006@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-06-07 20:45:14 -07:00
..
2022-05-02 13:57:56 -07:00
2022-05-06 12:07:56 +01:00
2022-05-20 17:38:27 -07:00
2022-06-06 14:27:35 -07:00
2022-06-01 12:01:47 +02:00
2022-05-11 13:09:59 +01:00
2022-05-05 15:54:12 -07:00
2022-05-16 10:18:56 +01:00