diff options
| author | Yang Yingliang <[email protected]> | 2021-11-24 08:40:48 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-11-26 03:20:34 +0000 |
| commit | 739752d655b3a5fa6ea3d72c1b53cec082f86486 (patch) | |
| tree | 16716f039cb49e2d24cc5ece9b41643f87d3fc47 /net/unix/af_unix.c | |
| parent | veth: use ethtool_sprintf instead of snprintf (diff) | |
| download | kernel-739752d655b3a5fa6ea3d72c1b53cec082f86486.tar.gz kernel-739752d655b3a5fa6ea3d72c1b53cec082f86486.zip | |
tsnep: Add missing of_node_put() in tsnep_mdio_init()
The node pointer is returned by of_get_child_by_name() with
refcount incremented in tsnep_mdio_init(). Calling of_node_put()
to aovid the refcount leak in tsnep_mdio_init().
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Yang Yingliang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
