aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorAlexey Romanov <[email protected]>2022-10-13 14:28:25 +0300
committerAndrew Morton <[email protected]>2022-10-20 21:27:21 -0700
commit4249a05ff670e7b1aeea77f1a5451080ea86c88d (patch)
treeb8a5f83ae93d34f55c4a3119b5d8612691b09705 /scripts/gdb/linux/lists.py
parent7329e3ebe3594b425955ab591ecea335e85842c2 (diff)
zsmalloc: zs_destroy_pool: add size_class NULL check
Inside the zs_destroy_pool() function, there can still be NULL size_class pointers: if when the next size_class is allocated, inside zs_create_pool() function, kzalloc will return NULL and handling the error condition, zs_create_pool() will call zs_destroy_pool(). Link: https://lkml.kernel.org/r/[email protected] Fixes: f24263a5a076 ("zsmalloc: remove unnecessary size_class NULL check") Signed-off-by: Alexey Romanov <[email protected]> Reviewed-by: Sergey Senozhatsky <[email protected]> Cc: Minchan Kim <[email protected]> Cc: Nitin Gupta <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions