From: Thadeu Lima de Souza Cascardo Date: Fri, 12 Oct 2012 21:10:11 +0000 (+0000) Subject: RDMA/cxgb4: Don't free chunk that we have failed to allocate X-Git-Tag: v3.7-rc3~10^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32c631f9f2566d09d32abc2f4c7aa24c6d8b5641;p=pandora-kernel.git RDMA/cxgb4: Don't free chunk that we have failed to allocate In the error path of registering memory when there's a failure to allocate a chunk from the memory pool, we try to free the same chunk we just failed to allocate, which will BUG(). Signed-off-by: Thadeu Lima de Souza Cascardo Signed-off-by: Roland Dreier --- Reading git-diff-tree failed