[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210719214649.w65ifdp2hriryrsc@oracle.com>
Date: Mon, 19 Jul 2021 17:46:49 -0400
From: Daniel Jordan <daniel.m.jordan@...cle.com>
To: Xiyu Yang <xiyuyang19@...an.edu.cn>
Cc: Steffen Klassert <steffen.klassert@...unet.com>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
yuanxzhang@...an.edu.cn, Xin Tan <tanxin.ctf@...il.com>,
Herbert Xu <herbert@...dor.apana.org.au>
Subject: Re: [PATCH] padata: Convert from atomic_t to refcount_t on
parallel_data->refcnt
On Mon, Jul 19, 2021 at 04:37:33PM +0800, Xiyu Yang wrote:
> refcount_t type and corresponding API can protect refcounters from
> accidental underflow and overflow and further use-after-free situations.
>
> Signed-off-by: Xiyu Yang <xiyuyang19@...an.edu.cn>
> Signed-off-by: Xin Tan <tanxin.ctf@...il.com>
This patch run on a big server didn't turn up anything, but it's
probably useful to have the extra checking.
Acked-by: Daniel Jordan <daniel.m.jordan@...cle.com>
Powered by blists - more mailing lists