[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAVpQUDM_PQcjtcVKJdb_JbXdaxpCgH=JUWES9k_J9tA07td5w@mail.gmail.com>
Date: Wed, 3 Sep 2025 11:28:15 -0700
From: Kuniyuki Iwashima <kuniyu@...gle.com>
To: Neal Cardwell <ncardwell@...gle.com>
Cc: Eric Dumazet <edumazet@...gle.com>, "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, Simon Horman <horms@...nel.org>,
netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH net-next 1/3] tcp: fix __tcp_close() to only send RST when required
On Wed, Sep 3, 2025 at 8:07 AM Neal Cardwell <ncardwell@...gle.com> wrote:
>
> On Wed, Sep 3, 2025 at 4:47 AM Eric Dumazet <edumazet@...gle.com> wrote:
> >
> > If the receive queue contains payload that was already
> > received, __tcp_close() can send an unexpected RST.
> >
> > Refine the code to take tp->copied_seq into account,
> > as we already do in tcp recvmsg().
> >
> > Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> > Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> > ---
>
> Reviewed-by: Neal Cardwell <ncardwell@...gle.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@...gle.com>
Powered by blists - more mailing lists