[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fc6c27ca-5592-8445-7054-76c9b2ec6de8@linux.ibm.com>
Date: Thu, 12 May 2022 14:01:37 +0200
From: Karsten Graul <kgraul@...ux.ibm.com>
To: Guangguan Wang <guangguan.wang@...ux.alibaba.com>,
davem@...emloft.net, kuba@...nel.org, tonylu@...ux.alibaba.com
Cc: linux-s390@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net v2] net/smc: non blocking recvmsg() return -EAGAIN
when no data and signal_pending
On 12/05/2022 05:08, Guangguan Wang wrote:
> Non blocking sendmsg will return -EAGAIN when any signal pending
> and no send space left, while non blocking recvmsg return -EINTR
> when signal pending and no data received. This may makes confused.
> As TCP returns -EAGAIN in the conditions described above. Align the
> behavior of smc with TCP.
>
> Fixes: 846e344eb722 ("net/smc: add receive timeout check")
> Signed-off-by: Guangguan Wang <guangguan.wang@...ux.alibaba.com>
> Reviewed-by: Tony Lu <tonylu@...ux.alibaba.com>
> ---
Acked-by: Karsten Graul <kgraul@...ux.ibm.com>
Thank you.
Powered by blists - more mailing lists