[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <547dd077-bcfc-cf42-9278-e388b3af1ac8@linux.intel.com>
Date: Wed, 2 Dec 2020 11:06:10 -0800 (PST)
From: Mat Martineau <mathew.j.martineau@...ux.intel.com>
To: Eric Dumazet <eric.dumazet@...il.com>
cc: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
netdev <netdev@...r.kernel.org>,
Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>
Subject: Re: [PATCH net-next] mptcp: avoid potential infinite loop in
mptcp_recvmsg()
On Wed, 2 Dec 2020, Eric Dumazet wrote:
> From: Eric Dumazet <edumazet@...gle.com>
>
> If a packet is ready in receive queue, and application isssues
> a recvmsg()/recvfrom()/recvmmsg() request asking for zero bytes,
> we hang in mptcp_recvmsg().
>
> Fixes: ea4ca586b16f ("mptcp: refine MPTCP-level ack scheduling")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Cc: Paolo Abeni <pabeni@...hat.com>
> ---
> net/mptcp/protocol.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Thanks for catching this Eric.
Reviewed-by: Mat Martineau <mathew.j.martineau@...ux.intel.com>
--
Mat Martineau
Intel
Powered by blists - more mailing lists