diff options
author | Yang Yingliang <[email protected]> | 2020-05-30 11:34:33 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-05-30 17:48:56 -0700 |
commit | 1b49cd71b52403822731dc9f283185d1da355f97 (patch) | |
tree | 2e349d434e2b0b69373d78d35518acedcf7985d7 /tools/perf/scripts/python/stackcollapse.py | |
parent | 8692cefc433f282228fd44938dd4d26ed38254a2 (diff) |
devinet: fix memleak in inetdev_init()
When devinet_sysctl_register() failed, the memory allocated
in neigh_parms_alloc() should be freed.
Fixes: 20e61da7ffcf ("ipv4: fail early when creating netdev named all or default")
Signed-off-by: Yang Yingliang <[email protected]>
Acked-by: Cong Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions