summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/i40iw/i40iw_uk.c
diff options
context:
space:
mode:
authorLeon Romanovsky <leon@kernel.org>2016-11-03 16:44:11 +0200
committerDoug Ledford <dledford@redhat.com>2016-12-03 13:12:52 -0500
commitaa6aae38f7fb2c030f326a6dd10b58fff1851dfa (patch)
treed3396442e85da657cb01509917d2e6b2087b364c /drivers/infiniband/hw/i40iw/i40iw_uk.c
parenta0b3455fcb2d1b3e486349a4a51803c3cb3847b5 (diff)
downloadlinux-stable-aa6aae38f7fb2c030f326a6dd10b58fff1851dfa.tar.gz
linux-stable-aa6aae38f7fb2c030f326a6dd10b58fff1851dfa.tar.bz2
linux-stable-aa6aae38f7fb2c030f326a6dd10b58fff1851dfa.zip
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>
Diffstat (limited to 'drivers/infiniband/hw/i40iw/i40iw_uk.c')
0 files changed, 0 insertions, 0 deletions