commit | b7c55155983403fe654324e4828e79bd7aab8d76 | [log] [tgz] |
---|---|---|
author | Leon Romanovsky <leon@kernel.org> | Thu Nov 03 16:44:11 2016 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jan 26 08:24:34 2017 +0100 |
tree | ffbcde088220e7806e50443e0811879e59a4bc18 | |
parent | 40bf0662fe3f794fef0a44456337cfb1b1eb45b5 [diff] |
IB/core: Release allocated memory in cache setup failure commit aa6aae38f7fb2c030f326a6dd10b58fff1851dfa upstream. The failure in ib_cache_setup_one function during ib_register_device will leave leaked allocated memory. Fixes: 03db3a2d81e6 ("IB/core: Add RoCE GID table management") Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>