]> git.baikalelectronics.ru Git - kernel.git/commit
svcrdma: Cleanup DMA unmapping in error paths.
authorTom Tucker <tom@ogc.us>
Tue, 12 Oct 2010 20:33:57 +0000 (15:33 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 18 Oct 2010 23:51:32 +0000 (19:51 -0400)
commitb55b3163de4a29cf2302d283fd56531341518cf7
tree4d237d58f695713c72a01631d010e6387db820c7
parent14a58cd045afa55b25fe48b1dcf6a1e80e5daee7
svcrdma: Cleanup DMA unmapping in error paths.

There are several error paths in the code that do not unmap DMA. This
patch adds calls to svc_rdma_unmap_dma to free these DMA contexts.

Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c
net/sunrpc/xprtrdma/svc_rdma_sendto.c
net/sunrpc/xprtrdma/svc_rdma_transport.c