[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2a0d2c32-5548-445e-a67e-db48157685d7@kylinos.cn>
Date: Mon, 4 Dec 2023 10:27:47 +0800
From: Kunwu Chan <chentao@...inos.cn>
To: Michael Ellerman <mpe@...erman.id.au>, npiggin@...il.com,
christophe.leroy@...roup.eu
Cc: kunwu.chan@...mail.com, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] powerpc/mm: Fix null-pointer dereference in
pgtable_cache_add
Sure,i'll follow your suggestion in v3 patch:
1. set new to NULL
2. add a 'if' judgment before 'kmem_cache_create'
Thanks,
Kunwu
On 2023/12/1 18:17, Michael Ellerman wrote:
> avoid two calls to panic
Powered by blists - more mailing lists