[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220414085727.643099-20-42.hyeyoo@gmail.com>
Date: Thu, 14 Apr 2022 17:57:23 +0900
From: Hyeonggon Yoo <42.hyeyoo@...il.com>
To: Vlastimil Babka <vbabka@...e.cz>
Cc: Marco Elver <elver@...gle.com>,
Matthew WilCox <willy@...radead.org>,
Christoph Lameter <cl@...ux.com>,
Pekka Enberg <penberg@...nel.org>,
David Rientjes <rientjes@...gle.com>,
Joonsoo Kim <iamjoonsoo.kim@....com>,
Andrew Morton <akpm@...ux-foundation.org>,
Hyeonggon Yoo <42.hyeyoo@...il.com>,
Roman Gushchin <roman.gushchin@...ux.dev>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 19/23] mm/slab_common: add kasan_kmalloc() in __kmalloc_node_track_caller()
Add missing kasan_kmalloc() in __kmalloc_node_track_caller().
Signed-off-by: Hyeonggon Yoo <42.hyeyoo@...il.com>
---
mm/slab_common.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mm/slab_common.c b/mm/slab_common.c
index a3eb66e5180c..6abe7f61c197 100644
--- a/mm/slab_common.c
+++ b/mm/slab_common.c
@@ -954,6 +954,7 @@ void *__kmalloc_node_track_caller(size_t size, gfp_t gfpflags,
return s;
ret = __kmem_cache_alloc_node(s, NULL, gfpflags, node, caller);
+ ret = kasan_kmalloc(s, ret, size, gfpflags);
return ret;
}
--
2.32.0
Powered by blists - more mailing lists