From: Roi Dayan Date: Tue, 2 Sep 2014 14:08:41 +0000 (+0300) Subject: IB/iser: Fix RX/TX CQ resource leak on error flow X-Git-Tag: fixes-for-v3.18-merge-window~78^2^3~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c33b15f00bbfb9324dc38e5176f576a0f46e0873;p=pandora-kernel.git 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 Signed-off-by: Sagi Grimberg Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier --- Reading git-diff-tree failed