9P/RDMA: Improve error handling in rdma_request
authorSimon Derr <simon.derr@bull.net>
Fri, 21 Jun 2013 13:32:41 +0000 (15:32 +0200)
committerEric Van Hensbergen <ericvh@gmail.com>
Mon, 8 Jul 2013 03:02:29 +0000 (22:02 -0500)
commit2f52d07cb75d96fcbb5b9ab72938590fa9ffb19d
treeec7258ce3685ab86bbea93f8b5dd666fcc6da98b
parentb530e252e291c27fdcb1b73c72ad17f75c8bdba6
9P/RDMA: Improve error handling in rdma_request

Most importantly:
- do not free the recv context (rpl_context) after a successful post_recv()
- but do free the send context (c) after a failed send.

Signed-off-by: Simon Derr <simon.derr@bull.net>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
net/9p/trans_rdma.c