diff --git a/iscsi-scst/kernel/nthread.c b/iscsi-scst/kernel/nthread.c index 5701b8b93..42a6c96c8 100644 --- a/iscsi-scst/kernel/nthread.c +++ b/iscsi-scst/kernel/nthread.c @@ -868,6 +868,12 @@ static int process_read_io(struct iscsi_conn *conn, int *closed) /* * This command not yet received on the aborted * time, so shouldn't be affected by any abort. + * It should not be affected by conn_abort() + * as well, because close connection is initiated + * from single (this) read thread, so conn_abort() + * call stack can not be initiated in parallel to + * receive all the data event (do_recv() has check + * of conn->closing in the beginning) */ EXTRACHECKS_BUG_ON(cmnd->prelim_compl_flags != 0);