[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210730031047.GD12121@gondor.apana.org.au>
Date: Fri, 30 Jul 2021 11:10:47 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Daniel Jordan <daniel.m.jordan@...cle.com>
Cc: Steffen Klassert <steffen.klassert@...unet.com>,
Xiyu Yang <xiyuyang19@...an.edu.cn>, yuanxzhang@...an.edu.cn,
Xin Tan <tanxin.ctf@...il.com>, linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] padata: Convert from atomic_t to refcount_t on
parallel_data->refcnt
On Tue, Jul 20, 2021 at 11:05:11AM -0400, Daniel Jordan wrote:
> From: Xiyu Yang <xiyuyang19@...an.edu.cn>
>
> 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>
> Acked-by: Daniel Jordan <daniel.m.jordan@...cle.com>
> ---
>
> This seems not to have made it to the lists even though they were
> originally cc'd. Reposting.
>
> include/linux/padata.h | 3 ++-
> kernel/padata.c | 8 ++++----
> 2 files changed, 6 insertions(+), 5 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists