commit | bf36387ad394ad4fc93ad85fdd4a95dfa583556a | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Tue Mar 01 13:06:20 2016 -0500 |
committer | J. Bruce Fields <bfields@redhat.com> | Tue Mar 01 13:06:37 2016 -0800 |
tree | b4c3ac4aee7be16136f8ed065ff0a8e8e1105db6 | |
parent | 3e1eeb9808225fb050582a1fc9b5d8e00390581c [diff] |
svcrdma: svc_rdma_post_recv() should close connection on error Clean up: Most svc_rdma_post_recv() call sites close the transport connection when a receive cannot be posted. Wrap that in a common helper. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-by: Devesh Sharma <devesh.sharma@broadcom.com> Tested-by: Devesh Sharma <devesh.sharma@broadcom.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>