From: Simon Derr Date: Fri, 21 Jun 2013 13:32:40 +0000 (+0200) Subject: 9P/RDMA: Do not free req->rc in error handling in rdma_request() X-Git-Tag: v3.11-rc1~29^2~4 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b530e252e291c27fdcb1b73c72ad17f75c8bdba6;p=pandora-kernel.git 9P/RDMA: Do not free req->rc in error handling in rdma_request() rdma_request() should never be in charge of freeing rc. When an error occurs: * Either the rc buffer has been recv_post()'ed. then kfree()'ing it certainly is a bad idea. * Or is has not, and in that case req->rc still points to it, hence it needs not be freed. Signed-off-by: Simon Derr Signed-off-by: Eric Van Hensbergen --- Reading git-diff-tree failed