commit | c33b15f00bbfb9324dc38e5176f576a0f46e0873 | [log] [tgz] |
---|---|---|
author | Roi Dayan <roid@mellanox.com> | Tue Sep 02 17:08:41 2014 +0300 |
committer | Roland Dreier <roland@purestorage.com> | Mon Sep 22 09:46:42 2014 -0700 |
tree | 2befec36153b1d9afc4e3237320b72a906a3dbca | |
parent | 52addcf9d6669fa439387610bc65c92fa0980cef [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>