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)
commit4a84386fc27fdc7d2ea69fdbc641008e8f943159
tree4d237d58f695713c72a01631d010e6387db820c7
parentb432e6b3d9c1b4271c43f02b45136f33a8ed5820
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