commit | 50bbe3d34fea74b7c0fabe553c40c2f4a48bb9c3 | [log] [tgz] |
---|---|---|
author | Maor Gottlieb <maorg@mellanox.com> | Thu May 07 09:29:42 2020 +0300 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Tue May 12 11:47:48 2020 -0300 |
tree | f2d431829198350a0774097355aa3e07ba7b519e | |
parent | 1901b91f99821955eac2bd48fe25ee983385dc00 [diff] |
RDMA/core: Fix double put of resource Do not decrease the reference count of resource tracker object twice in the error flow of res_get_common_doit. Fixes: c5dfe0ea6ffa ("RDMA/nldev: Add resource tracker doit callback") Link: https://lore.kernel.org/r/20200507062942.98305-1-leon@kernel.org Signed-off-by: Maor Gottlieb <maorg@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>