commit | aa6aae38f7fb2c030f326a6dd10b58fff1851dfa | [log] [tgz] |
---|---|---|
author | Leon Romanovsky <leon@kernel.org> | Thu Nov 03 16:44:11 2016 +0200 |
committer | Doug Ledford <dledford@redhat.com> | Sat Dec 03 13:12:52 2016 -0500 |
tree | d3396442e85da657cb01509917d2e6b2087b364c | |
parent | a0b3455fcb2d1b3e486349a4a51803c3cb3847b5 [diff] |
IB/core: Release allocated memory in cache setup failure 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>