Re: [PATCH v3] scsi: avoid potential deadloop in iscsi_if_rx func

From: Martin K. Petersen
Date: Tue Nov 12 2019 - 20:38:56 EST



> In iscsi_if_rx func, after receiving one request through
> iscsi_if_recv_msg func, iscsi_if_send_reply will be called to try to
> reply the request in do-loop. If the return of iscsi_if_send_reply
> func return -EAGAIN all the time, one deadloop will occur.
>
> For example, a client only send msg without calling recvmsg func,
> then it will result in the watchdog soft lockup.
> The details are given as follows,

Lee/Chris/Ulrich: Please review!

--
Martin K. Petersen Oracle Linux Engineering