From: Paolo Abeni <pabeni@redhat.com>
To: Xin Guo <guoxin0309@gmail.com>, Eric Dumazet <edumazet@google.com>
Cc: netdev@vger.kernel.org, Ayush Sawal <ayush.sawal@chelsio.com>,
"David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>,
David Ahern <dsahern@kernel.org>,
mptcp@lists.linux.dev, Boris Pismenny <borisp@nvidia.com>,
Tom Deseyn <tdeseyn@redhat.com>
Subject: Re: [PATCH v2 net] tcp: allow again tcp_disconnect() when threads are waiting
Date: Fri, 13 Oct 2023 11:25:11 +0200 [thread overview]
Message-ID: <8918fc5c5d112b6cbfd0ac28345a1c33afcb09b9.camel@redhat.com> (raw)
In-Reply-To: <CAMaK5_ii38_Ze2uBmcyX8rnntEi35kXJ47yhxZvCb-ks0bMbxw@mail.gmail.com>
Hi,
On Fri, 2023-10-13 at 12:42 +0800, Xin Guo wrote:
> In my view, this patch is NOT so good, and it seems that trying to fix
> a problem temporarily without knowing its root cause,
First thing first, please avoid top posting when replying to the ML.
I don't follow the above statement. The root case of the problem
addressed here is stated in the commit message: the blamed commit
explicitly disables a functionality used by the user-space. We must
avoid breaking the user-space.
> because sk_wait_event function should know nothing about the other
> functions were called or not,
> but now this patch added a logic to let sk_wait_event know the
> specific tcp_dissconnect function was called by other threads or NOT,
> honestly speaking, it is NOT a good designation,
Why?
> so what is root cause about the problem which [0] commit want to fix?
The mentioned commit changelog is quite descriptive about the problem,
please read it.
> can we have a way to fix it directly instead of denying
> tcp_disconnect() when threads are waiting?
Yes, this patch.
Cheers,
Paolo
next prev parent reply other threads:[~2023-10-13 9:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-11 7:20 [PATCH v2 net] tcp: allow again tcp_disconnect() when threads are waiting Paolo Abeni
2023-10-11 7:36 ` Eric Dumazet
2023-10-13 4:42 ` Xin Guo
2023-10-13 9:25 ` Paolo Abeni [this message]
2023-10-13 9:53 ` Xin Guo
2023-10-14 0:00 ` patchwork-bot+netdevbpf
2024-02-13 11:54 ` Max Schulze
2024-02-13 12:05 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8918fc5c5d112b6cbfd0ac28345a1c33afcb09b9.camel@redhat.com \
--to=pabeni@redhat.com \
--cc=ayush.sawal@chelsio.com \
--cc=borisp@nvidia.com \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=edumazet@google.com \
--cc=guoxin0309@gmail.com \
--cc=kuba@kernel.org \
--cc=mptcp@lists.linux.dev \
--cc=netdev@vger.kernel.org \
--cc=tdeseyn@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).