svcrdma: Free context on post_recv error in send_reply
authorTom Tucker <tom@opengridcomputing.com>
Fri, 25 Apr 2008 23:08:59 +0000 (18:08 -0500)
committerTom Tucker <tom@opengridcomputing.com>
Mon, 19 May 2008 12:33:47 +0000 (07:33 -0500)
commit5ac461a6f05499fa233ea43b1de80b679d1eec21
tree2c49a3c2338e1bcea424fe2ea99ed373741bbe0c
parent05a0826a6e6d95ab6e9c3e4a10b58e10f233cc2b
svcrdma: Free context on post_recv error in send_reply

If an error is encountered trying to post a recv buffer in send_reply,
free the passed in context. Return an error to the caller so it is
aware that the request was not posted.

Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
net/sunrpc/xprtrdma/svc_rdma_sendto.c