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

2019-11-14 Thread wubo (T)
Hi, > On 11/12/19 5:37 PM, Martin K. Petersen wrote: > > > >> 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

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

2019-11-13 Thread Lee Duncan
On 11/12/19 5:37 PM, Martin K. Petersen wrote: > >> 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 deadlo

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

2019-11-12 Thread Lee Duncan
On 11/12/19 5:37 PM, Martin K. Petersen wrote: > >> 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 deadlo

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

2019-11-12 Thread Martin K. Petersen
> 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

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

2019-11-07 Thread Zhiqiang Liu
Friendly ping... On 2019/10/31 14:17, wubo (T) wrote: > From: Bo Wu > > 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