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
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 642 bytes |
Makefile | -rw-r--r-- | 267 bytes |
af_smc.c | -rw-r--r-- | 66.9 KB |
smc.h | -rw-r--r-- | 8.5 KB |
smc_cdc.c | -rw-r--r-- | 13.7 KB |
smc_cdc.h | -rw-r--r-- | 8.3 KB |
smc_clc.c | -rw-r--r-- | 22.9 KB |
smc_clc.h | -rw-r--r-- | 11.0 KB |
smc_close.c | -rw-r--r-- | 12.2 KB |
smc_close.h | -rw-r--r-- | 759 bytes |
smc_core.c | -rw-r--r-- | 61.3 KB |
smc_core.h | -rw-r--r-- | 15.2 KB |
smc_diag.c | -rw-r--r-- | 7.4 KB |
smc_ib.c | -rw-r--r-- | 22.9 KB |
smc_ib.h | -rw-r--r-- | 3.6 KB |
smc_ism.c | -rw-r--r-- | 13.2 KB |
smc_ism.h | -rw-r--r-- | 1.8 KB |
smc_llc.c | -rw-r--r-- | 54.3 KB |
smc_llc.h | -rw-r--r-- | 3.6 KB |
smc_netlink.c | -rw-r--r-- | 2.2 KB |
smc_netlink.h | -rw-r--r-- | 605 bytes |
smc_netns.h | -rw-r--r-- | 381 bytes |
smc_pnet.c | -rw-r--r-- | 29.3 KB |
smc_pnet.h | -rw-r--r-- | 1.7 KB |
smc_rx.c | -rw-r--r-- | 11.9 KB |
smc_rx.h | -rw-r--r-- | 715 bytes |
smc_stats.c | -rw-r--r-- | 11.0 KB |
smc_stats.h | -rw-r--r-- | 7.4 KB |
smc_tx.c | -rw-r--r-- | 19.2 KB |
smc_tx.h | -rw-r--r-- | 1.1 KB |
smc_wr.c | -rw-r--r-- | 20.3 KB |
smc_wr.h | -rw-r--r-- | 3.8 KB |
Computing file changes ...