summaryrefslogtreecommitdiffstats
path: root/ipc/util.h
diff options
context:
space:
mode:
authorRoi Dayan <roid@mellanox.com>2014-09-02 17:08:41 +0300
committerRoland Dreier <roland@purestorage.com>2014-09-22 09:46:42 -0700
commitc33b15f00bbfb9324dc38e5176f576a0f46e0873 (patch)
tree2befec36153b1d9afc4e3237320b72a906a3dbca /ipc/util.h
parent52addcf9d6669fa439387610bc65c92fa0980cef (diff)
IB/iser: Fix RX/TX CQ resource leak on error flow
When failing to allocate TX CQ we already allocated RX CQ, so we need to make sure we release it. Also, when failing to register notification to the RX CQ we currently leak both RX and TX CQs of the current index, fix that too. Signed-off-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'ipc/util.h')
0 files changed, 0 insertions, 0 deletions