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-- | 1003 bytes |
Makefile | -rw-r--r-- | 421 bytes |
crypto.c | -rw-r--r-- | 2.4 KB |
crypto_test.c | -rw-r--r-- | 1.7 KB |
ctrl.c | -rw-r--r-- | 4.4 KB |
diag.c | -rw-r--r-- | 3.0 KB |
mib.c | -rw-r--r-- | 3.4 KB |
mib.h | -rw-r--r-- | 3.3 KB |
mptcp_diag.c | -rw-r--r-- | 4.5 KB |
options.c | -rw-r--r-- | 42.0 KB |
pm.c | -rw-r--r-- | 9.4 KB |
pm_netlink.c | -rw-r--r-- | 51.2 KB |
protocol.c | -rw-r--r-- | 88.4 KB |
protocol.h | -rw-r--r-- | 26.6 KB |
sockopt.c | -rw-r--r-- | 19.8 KB |
subflow.c | -rw-r--r-- | 49.7 KB |
syncookies.c | -rw-r--r-- | 3.7 KB |
token.c | -rw-r--r-- | 10.8 KB |
token_test.c | -rw-r--r-- | 4.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...