Message ID | 20210801191206.Rl7utsOt9%akpm@linux-foundation.org |
---|---|
State | New |
Headers | show |
Series | [merged] mm-memcg-fix-null-pointer-dereference-in-memcg_slab_free_hook.patch removed from -mm tree | expand |
--- a/mm/slab.h~mm-memcg-fix-null-pointer-dereference-in-memcg_slab_free_hook +++ a/mm/slab.h @@ -346,7 +346,7 @@ static inline void memcg_slab_free_hook( continue; page = virt_to_head_page(p[i]); - objcgs = page_objcgs(page); + objcgs = page_objcgs_check(page); if (!objcgs) continue;