diff options
Diffstat (limited to 'kernel/rcu/tree.c')
-rw-r--r-- | kernel/rcu/tree.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 28c7031711a3..76323d9621ad 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c @@ -3758,6 +3758,9 @@ void kvfree_call_rcu(struct rcu_head *head, void *ptr) struct kfree_rcu_cpu *krcp; bool success; + if (!is_vmalloc_addr(ptr)) + verify_slab_obj_has_alloc_tag(ptr); + /* * Please note there is a limitation for the head-less * variant, that is why there is a clear rule for such |