summaryrefslogtreecommitdiffstats
path: root/net/ipv6/udp.c
diff options
context:
space:
mode:
authorLiang He <windhl@126.com>2022-07-14 17:31:38 +0200
committerJakub Kicinski <kuba@kernel.org>2022-07-16 01:44:53 +0200
commita14bd7475452c51835dd5a0cee4c8fa48dd0b539 (patch)
tree08e0f92cedf8846f8e159d4e067371e394831751 /net/ipv6/udp.c
parentMerge branch 'stmmac-dwmac-mediatec-clock-fix' (diff)
downloadlinux-a14bd7475452c51835dd5a0cee4c8fa48dd0b539.tar.xz
linux-a14bd7475452c51835dd5a0cee4c8fa48dd0b539.zip
net: dsa: microchip: ksz_common: Fix refcount leak bug
In ksz_switch_register(), we should call of_node_put() for the reference returned by of_get_child_by_name() which has increased the refcount. Fixes: 912aae27c6af ("net: dsa: microchip: really look for phy-mode in port nodes") Signed-off-by: Liang He <windhl@126.com> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Link: https://lore.kernel.org/r/20220714153138.375919-1-windhl@126.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv6/udp.c')
0 files changed, 0 insertions, 0 deletions