diff options
author | Vlastimil Babka <vbabka@suse.cz> | 2025-09-15 15:55:11 +0200 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2025-09-15 16:10:10 +0200 |
commit | 40522db59b5bd36dd63d215bfb7fa83d64bce05a (patch) | |
tree | 80ed08436f491bc317f7e1bd45c29d3eaa77bae1 /security/selinux/hooks.c | |
parent | 6f6fcd463410445101fae04335f617f40e6eca8a (diff) |
slab: move validate_slab_ptr() from alloc_consistency_checks() to its caller
In alloc_debug_processing() we can call validate_slab_ptr() upfront and
then don't need to recheck when alloc_consistency_checks() fails for
other reasons.
Reviewed-by: Harry Yoo <harry.yoo@oracle.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions