From: Steffen Klassert <steffen.klassert@secunet.com>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Abhishek Shah <abhishek.shah@columbia.edu>, <davem@davemloft.net>,
<edumazet@google.com>, <kuba@kernel.org>,
<netdev@vger.kernel.org>, <pabeni@redhat.com>,
<linux-kernel@vger.kernel.org>,
Gabriel Ryan <gabe@cs.columbia.edu>,
Fan Du <fan.du@windriver.com>,
Steffen Klassert <klassert@kernel.org>
Subject: Re: [PATCH] af_key: Do not call xfrm_probe_algs in parallel
Date: Tue, 9 Aug 2022 07:47:28 +0200 [thread overview]
Message-ID: <20220809054728.GX2950045@gauss3.secunet.de> (raw)
In-Reply-To: <YuuZgsdmJK8roKLD@gondor.apana.org.au>
On Thu, Aug 04, 2022 at 06:03:46PM +0800, Herbert Xu wrote:
> When namespace support was added to xfrm/afkey, it caused the
> previously single-threaded call to xfrm_probe_algs to become
> multi-threaded. This is buggy and needs to be fixed with a mutex.
>
> Reported-by: Abhishek Shah <abhishek.shah@columbia.edu>
> Fixes: 283bc9f35bbb ("xfrm: Namespacify xfrm state/policy locks")
> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Applied, thanks a lot Herbert!
next prev parent reply other threads:[~2022-08-09 5:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAEHB24-9hXY+TgQKxJB4bE9a9dFD9C+Lan+ShBwpvwaHVAGMFg@mail.gmail.com>
2022-07-22 3:16 ` Race 1 in net/xfrm/xfrm_algo.c Herbert Xu
[not found] ` <CAEHB249ygptvp9wpynMF7zZ2Kcet0+bwLVuVg5UReZHOU1+8HA@mail.gmail.com>
2022-07-29 2:30 ` Herbert Xu
2022-08-04 10:03 ` [PATCH] af_key: Do not call xfrm_probe_algs in parallel Herbert Xu
2022-08-09 5:47 ` Steffen Klassert [this message]
2022-08-22 16:19 ` Gabriel Ryan
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=20220809054728.GX2950045@gauss3.secunet.de \
--to=steffen.klassert@secunet.com \
--cc=abhishek.shah@columbia.edu \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=fan.du@windriver.com \
--cc=gabe@cs.columbia.edu \
--cc=herbert@gondor.apana.org.au \
--cc=klassert@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@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
all inboxes | Powered by JetHome®