diff options
author | Navid Emamdoost <navid.emamdoost@gmail.com> | 2019-09-25 22:05:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-27 21:12:03 +0300 |
commit | 8ce39eb5a67aee25d9f05b40b673c95b23502e3e (patch) | |
tree | f5ac35b09a619450d16779f24e66bbe8f3cfb427 /net/ipv6/ip6_fib.c | |
parent | 8572cea1461a006bce1d06c0c4b0575869125fa4 (diff) | |
download | linux-8ce39eb5a67aee25d9f05b40b673c95b23502e3e.tar.xz |
nfp: flower: fix memory leak in nfp_flower_spawn_vnic_reprs
In nfp_flower_spawn_vnic_reprs in the loop if initialization or the
allocations fail memory is leaked. Appropriate releases are added.
Fixes: b94524529741 ("nfp: flower: add per repr private data for LAG offload")
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_fib.c')
0 files changed, 0 insertions, 0 deletions