Revision ba69fd9101f20a6d05a96ab743341d4e7b1a2178 authored by Christophe JAILLET on 18 October 2021, 19:59:00 UTC, committed by Jakub Kicinski on 19 October 2021, 22:41:16 UTC
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>
1 parent 04ee275
History
File Mode Size
crush
Kconfig -rw-r--r-- 1.2 KB
Makefile -rw-r--r-- 472 bytes
armor.c -rw-r--r-- 1.9 KB
auth.c -rw-r--r-- 15.7 KB
auth_none.c -rw-r--r-- 3.1 KB
auth_none.h -rw-r--r-- 482 bytes
auth_x.c -rw-r--r-- 26.8 KB
auth_x.h -rw-r--r-- 1013 bytes
auth_x_protocol.h -rw-r--r-- 1.9 KB
buffer.c -rw-r--r-- 1.2 KB
ceph_common.c -rw-r--r-- 23.5 KB
ceph_hash.c -rw-r--r-- 2.9 KB
ceph_strings.c -rw-r--r-- 1.6 KB
cls_lock_client.c -rw-r--r-- 11.7 KB
crypto.c -rw-r--r-- 8.0 KB
crypto.h -rw-r--r-- 1.1 KB
debugfs.c -rw-r--r-- 12.3 KB
decode.c -rw-r--r-- 4.6 KB
messenger.c -rw-r--r-- 53.8 KB
messenger_v1.c -rw-r--r-- 37.9 KB
messenger_v2.c -rw-r--r-- 88.1 KB
mon_client.c -rw-r--r-- 38.3 KB
msgpool.c -rw-r--r-- 2.3 KB
osd_client.c -rw-r--r-- 148.1 KB
osdmap.c -rw-r--r-- 70.2 KB
pagelist.c -rw-r--r-- 4.0 KB
pagevec.c -rw-r--r-- 3.3 KB
snapshot.c -rw-r--r-- 1.6 KB
string_table.c -rw-r--r-- 2.2 KB
striper.c -rw-r--r-- 7.7 KB

back to top