Re: Please add 2dce224f469f ("netns: protect netns ID lookups with RCU") to LTS

From: Greg KH
Date: Thu Sep 09 2021 - 09:37:15 EST


On Thu, Sep 09, 2021 at 01:10:05PM +0000, Haakon Bugge wrote:
> Hi Greg & Sasha,
>
>
> tl;dr: Please add 2dce224f469f ("netns: protect netns ID lookups with
> RCU") to the stable releases from v5.4 and older. It fixes a
> spin_unlock_bh() in peernet2id() called with IRQs off. I think this
> neat side-effect of commit 2dce224f469f was quite un-intentional,
> hence no Fixes: tag or CC: stable.

Please provide a working backport for all of the relevant kernel
verisons, as it does not apply cleanly on it's own.

thanks,

greg k-h