commit | 78beef629fd95be4ed853b2d37b832f766bd96ca | [log] [tgz] |
---|---|---|
author | Navid Emamdoost <navid.emamdoost@gmail.com> | Thu Sep 26 20:51:46 2019 -0500 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 27 20:55:51 2019 +0200 |
tree | 4f720286e599426e5e946e6203e8126d756fb547 | |
parent | a41e8a88b06ee39fad4cb4a8ccf822563560a89c [diff] |
nfp: abm: fix memory leak in nfp_abm_u32_knode_replace In nfp_abm_u32_knode_replace if the allocation for match fails it should go to the error handling instead of returning. Updated other gotos to have correct errno returned, too. Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>