diff options
author | Navid Emamdoost <navid.emamdoost@gmail.com> | 2019-09-26 20:51:46 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-11 18:36:49 +0200 |
commit | eab54b91ad373fc59c37acd22cc912cff98f41c7 (patch) | |
tree | 4490302553543359cf76a211e7cd76e7d66e77f7 /net/lapb/lapb_timer.c | |
parent | 44a7413724e916331a37b2b8f24fd7ee0e82e4e1 (diff) |
nfp: abm: fix memory leak in nfp_abm_u32_knode_replace
[ Upstream commit 78beef629fd95be4ed853b2d37b832f766bd96ca ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions