commit | 8ce39eb5a67aee25d9f05b40b673c95b23502e3e | [log] [tgz] |
---|---|---|
author | Navid Emamdoost <navid.emamdoost@gmail.com> | Wed Sep 25 14:05:09 2019 -0500 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 27 20:12:03 2019 +0200 |
tree | f5ac35b09a619450d16779f24e66bbe8f3cfb427 | |
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>