]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
SUNRPC: Remove resource leak in svc_rdma_send_error()
authorJesper Juhl <jj@chaosbits.net>
Sat, 22 Jan 2011 21:40:20 +0000 (21:40 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 10 Mar 2011 20:04:54 +0000 (15:04 -0500)
commita5e502681007779d4762fb3ef7e80a3ecd1cfe6b
treebfa3e8658e93fd8c64eff33cca5904c9f32ae055
parentd2224e7afbf2a6556f4f8f25bc0e96d99ec4d2bd
SUNRPC: Remove resource leak in svc_rdma_send_error()

We leak the memory allocated to 'ctxt' when we return after
'ib_dma_mapping_error()' returns !=0.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprtrdma/svc_rdma_transport.c