Message ID | 20200626032952._ed4K7Snx%akpm@linux-foundation.org |
---|---|
State | New |
Headers | show |
Series | [merged] mm-memcontrol-fix-do-not-put-the-css-reference.patch removed from -mm tree | expand |
--- a/mm/slab_common.c~mm-slab-use-memzero_explicit-in-kzfree +++ a/mm/slab_common.c @@ -1726,7 +1726,7 @@ void kzfree(const void *p) if (unlikely(ZERO_OR_NULL_PTR(mem))) return; ks = ksize(mem); - memset(mem, 0, ks); + memzero_explicit(mem, ks); kfree(mem); } EXPORT_SYMBOL(kzfree);