[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220512090638.0fbe7710@kernel.org>
Date: Thu, 12 May 2022 09:06:38 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Guangguan Wang <guangguan.wang@...ux.alibaba.com>
Cc: Tony Lu <tonylu@...ux.alibaba.com>, kgraul@...ux.ibm.com,
davem@...emloft.net, pabeni@...hat.com, linux-s390@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next v2 1/2] net/smc: non blocking recvmsg() return
-EAGAIN when no data and signal_pending
On Thu, 12 May 2022 11:51:22 +0800 Guangguan Wang wrote:
> On 2022/5/12 11:43, Tony Lu wrote:
> > On Thu, May 12, 2022 at 11:11:55AM +0800, 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>
> >
> > I see that you have already sent this patch to net, so this patch is a
> > duplicate. There is no need to send it again to net-next.
>
> Ok, just ignore it. Thanks!
You gotta repost just patch 2, then. Please wait until net and net-next
get merged before sending (or 12h if you don't know how to figure out if
that already happened ;))
Powered by blists - more mailing lists