mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-19 03:31:26 +00:00
Fixed a bug in the algorithm that decides when to send SRP_CRED_REQ.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1896 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1714,6 +1714,7 @@ static void srpt_handle_cred_rsp(struct srpt_rdma_ch *ch,
|
||||
* variable managed by the initiator temporarily
|
||||
* negative.
|
||||
*/
|
||||
ch->rq_size -= req_lim_delta;
|
||||
atomic_sub(req_lim_delta, &ch->req_lim);
|
||||
atomic_sub(req_lim_delta, &ch->req_lim_delta);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user