diff options
author | Xiaotian Feng <xtfeng@gmail.com> | 2013-08-06 12:06:42 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-08-16 15:44:27 (GMT) |
commit | c8d2d47a9cbb4222ae4e993aa0e3703430c8193c (patch) | |
tree | d522413abcf9c69d3ceef66e7dc4708560812645 /kernel/audit.c | |
parent | d3ec3a1fd08f705d1b319db4113590944bcde749 (diff) | |
download | linux-c8d2d47a9cbb4222ae4e993aa0e3703430c8193c.tar.xz |
cpumask: Fix cpumask leak in partition_sched_domains()
If doms_new is NULL, partition_sched_domains() will reset ndoms_cur
to 0, and free old sched domains with free_sched_domains(doms_cur, ndoms_cur).
As ndoms_cur is 0, the cpumask will not be freed.
Signed-off-by: Xiaotian Feng <xtfeng@gmail.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1375790802-11857-1-git-send-email-xtfeng@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/audit.c')
0 files changed, 0 insertions, 0 deletions