commit | 76ee8fd64ac9af36b03b68912c18b3d3cd5c99de | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Wed May 04 10:53:30 2016 -0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Fri May 13 15:53:06 2016 -0400 |
tree | 0e386437be480287bb80694350b596dbc7f8e317 | |
parent | 0319aafc95eaae10fdb867c35ce9bacfca27eaa3 [diff] |
svcrdma: Drain QP before freeing svcrdma_xprt If the server has forced a disconnect, the associated QP has not been moved to the Error state, and thus Receives are still posted. Ensure Receives (and any other outstanding WRs) are drained to release resources that can be freed during teardown of the svcrdma_xprt. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>