commit | 32c631f9f2566d09d32abc2f4c7aa24c6d8b5641 | [log] [tgz] |
---|---|---|
author | Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com> | Fri Oct 12 21:10:11 2012 +0000 |
committer | Roland Dreier <roland@purestorage.com> | Mon Oct 22 11:05:00 2012 -0700 |
tree | f52a29e97fda3e60e84755939102601e5c646692 | |
parent | ddffeb8c4d0331609ef2581d84de4d763607bd37 [diff] |
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 <cascardo@linux.vnet.ibm.com> Signed-off-by: Roland Dreier <roland@purestorage.com>