Re: [PATCH 5.4 097/122] xfrm: policy: Read seqcount outside of rcu-read side in xfrm_policy_lookup_bytype

From: Greg Kroah-Hartman
Date: Fri Jul 16 2021 - 13:47:10 EST


On Thu, Jul 15, 2021 at 08:54:47PM +0200, Florian Westphal wrote:
> Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> > From: Varad Gautam <varad.gautam@xxxxxxxx>
> >
> > commit d7b0408934c749f546b01f2b33d07421a49b6f3e upstream.
>
> This patch has been reverted in the ipsec tree, the problem was then
> addressed via 2580d3f40022642452dd8422bfb8c22e54cf84bb
> ("xfrm: Fix RCU vs hash_resize_mutex lock inversion").
>
> AFAICS its not in mainline yet.

Thank you, I have now dropped this from everywhere.

greg k-h