summaryrefslogtreecommitdiff
path: root/drivers/net/vrf.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2021-10-18 21:59:00 +0200
committerJakub Kicinski <kuba@kernel.org>2021-10-19 15:41:16 -0700
commitba69fd9101f20a6d05a96ab743341d4e7b1a2178 (patch)
tree870105ca1f7b13af58eb1e0d7b1e91b6f8142028 /drivers/net/vrf.c
parent04ee2752a5a9a715ad6dd56cc3eee3ec0bd846b4 (diff)
net: dsa: Fix an error handling path in 'dsa_switch_parse_ports_of()'
If we return before the end of the 'for_each_child_of_node()' iterator, the reference taken on 'port' must be released. Add the missing 'of_node_put()' calls. Fixes: 83c0afaec7b7 ("net: dsa: Add new binding implementation") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/15d5310d1d55ad51c1af80775865306d92432e03.1634587046.git.christophe.jaillet@wanadoo.fr Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/vrf.c')
0 files changed, 0 insertions, 0 deletions