Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rdma: (fix) memory leak: don't alloc
recv_conn_resp_req
on EAGAIN
Move call to `prepare_recv_conn_resp_req` before entry point of `COMM_SEND_CONN` stage. This resolves a potential memory leak where `prepare_recv_conn_resp_req` is called multiple times on EAGAIN. Also fixup a similar case in `accept`, although there was no memory allocation there so no leak. Signed-off-by: Eric Raut <eraut@amazon.com> (cherry picked from commit 398b853)
- Loading branch information