[PATCH v2] powerpc/mm: Fix null-pointer dereference in pgtable_cache_add

Kunwu Chan chentao at kylinos.cn
Mon Dec 4 13:27:47 AEDT 2023


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


More information about the Linuxppc-dev mailing list