Commit 3d9c8315 authored by Will Deacon's avatar Will Deacon
Browse files

Merge branch 'for-next/scs' into for-next/core

* for-next/scs:
  scs: Release kasan vmalloc poison in scs_free process
parents 16c200e0 528a4ab4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -78,6 +78,7 @@ void scs_free(void *s)
		if (this_cpu_cmpxchg(scs_cache[i], 0, s) == NULL)
			return;

	kasan_unpoison_vmalloc(s, SCS_SIZE);
	vfree_atomic(s);
}