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 |
---|---|---|
netfilter | ||
Kconfig | -rw-r--r-- | 2.6 KB |
Makefile | -rw-r--r-- | 996 bytes |
br.c | -rw-r--r-- | 10.3 KB |
br_arp_nd_proxy.c | -rw-r--r-- | 11.4 KB |
br_cfm.c | -rw-r--r-- | 20.4 KB |
br_cfm_netlink.c | -rw-r--r-- | 20.7 KB |
br_device.c | -rw-r--r-- | 12.6 KB |
br_fdb.c | -rw-r--r-- | 34.2 KB |
br_forward.c | -rw-r--r-- | 7.8 KB |
br_if.c | -rw-r--r-- | 18.1 KB |
br_input.c | -rw-r--r-- | 10.6 KB |
br_ioctl.c | -rw-r--r-- | 8.9 KB |
br_mdb.c | -rw-r--r-- | 33.7 KB |
br_mrp.c | -rw-r--r-- | 32.1 KB |
br_mrp_netlink.c | -rw-r--r-- | 15.9 KB |
br_mrp_switchdev.c | -rw-r--r-- | 5.8 KB |
br_multicast.c | -rw-r--r-- | 129.6 KB |
br_multicast_eht.c | -rw-r--r-- | 21.9 KB |
br_netfilter_hooks.c | -rw-r--r-- | 30.9 KB |
br_netfilter_ipv6.c | -rw-r--r-- | 5.6 KB |
br_netlink.c | -rw-r--r-- | 52.4 KB |
br_netlink_tunnel.c | -rw-r--r-- | 7.9 KB |
br_nf_core.c | -rw-r--r-- | 2.0 KB |
br_private.h | -rw-r--r-- | 59.3 KB |
br_private_cfm.h | -rw-r--r-- | 4.3 KB |
br_private_mcast_eht.h | -rw-r--r-- | 2.5 KB |
br_private_mrp.h | -rw-r--r-- | 4.3 KB |
br_private_stp.h | -rw-r--r-- | 1.7 KB |
br_private_tunnel.h | -rw-r--r-- | 2.3 KB |
br_stp.c | -rw-r--r-- | 16.2 KB |
br_stp_bpdu.c | -rw-r--r-- | 5.6 KB |
br_stp_if.c | -rw-r--r-- | 8.4 KB |
br_stp_timer.c | -rw-r--r-- | 4.2 KB |
br_switchdev.c | -rw-r--r-- | 8.8 KB |
br_sysfs_br.c | -rw-r--r-- | 29.6 KB |
br_sysfs_if.c | -rw-r--r-- | 10.7 KB |
br_vlan.c | -rw-r--r-- | 54.5 KB |
br_vlan_options.c | -rw-r--r-- | 19.6 KB |
br_vlan_tunnel.c | -rw-r--r-- | 4.8 KB |
Computing file changes ...