diff options
author | Navid Emamdoost | 2019-09-25 14:05:09 -0500 |
---|---|---|
committer | David S. Miller | 2019-09-27 20:12:03 +0200 |
commit | 8ce39eb5a67aee25d9f05b40b673c95b23502e3e (patch) | |
tree | f5ac35b09a619450d16779f24e66bbe8f3cfb427 /virt | |
parent | 8572cea1461a006bce1d06c0c4b0575869125fa4 (diff) |
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 'virt')
0 files changed, 0 insertions, 0 deletions