Messages in this thread | | | Date | Fri, 30 Jul 2021 11:10:47 +0800 | From | Herbert Xu <> | 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@fudan.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@fudan.edu.cn> > Signed-off-by: Xin Tan <tanxin.ctf@gmail.com> > Acked-by: Daniel Jordan <daniel.m.jordan@oracle.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@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |