mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-19 03:31:26 +00:00
ib_srpt: Add a comment
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4315 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2076,6 +2076,11 @@ static int srpt_compl_thread(void *arg)
|
||||
list_del(&ch->list);
|
||||
spin_unlock_irq(&sdev->spinlock);
|
||||
|
||||
/*
|
||||
* Note: if a DREQ is received after ch->dreq_received has been read,
|
||||
* ib_destroy_cm_id() will send a DREP.
|
||||
*
|
||||
*/
|
||||
if (ch->dreq_received) {
|
||||
if (ib_send_cm_drep(ch->cm_id, NULL, 0) >= 0)
|
||||
PRINT_INFO("Received DREQ and sent DREP for session %s",
|
||||
|
||||
Reference in New Issue
Block a user