commit | af261af4db14230fb35bcdc0ba9ef78ed6cf7bc1 | [log] [tgz] |
---|---|---|
author | Tom Tucker <tom@opengridcomputing.com> | Wed May 07 13:52:42 2008 -0500 |
committer | Tom Tucker <tom@opengridcomputing.com> | Mon May 19 07:34:00 2008 -0500 |
tree | 1d9de4ac4a71f6fd79eb41e9244f34daf863790a | |
parent | 69500c43b45f7155b72dcadad31cd55cda789c93 [diff] |
svcrdma: Copy transport address and arm CQ before calling rdma_accept This race was found by inspection. Messages can be received from the peer immediately following the rdma_accept call, however, the CQ have not yet been armed and the transport address has not yet been set. Set the transport address in the connect request handler and arm the CQ prior to calling rdma_accept. Signed-off-by: Tom Tucker <tom@opengridcomputing.com>