diff options
author | Kirill Tkhai <ktkhai@parallels.com> | 2014-09-22 22:36:36 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-09-24 14:47:11 +0200 |
commit | f1e3a0932f3a9554371792a7daaf1e0eb19f66d5 (patch) | |
tree | c7f93a1b06055de285395c036da15f43f4743124 /kernel/sched/rt.c | |
parent | 16303ab2fe214635240a8f57cad2cd29792d4e3b (diff) | |
download | lwn-f1e3a0932f3a9554371792a7daaf1e0eb19f66d5.tar.gz lwn-f1e3a0932f3a9554371792a7daaf1e0eb19f66d5.zip |
sched: Use rq->rd in sched_setaffinity() under RCU read lock
Probability of use-after-free isn't zero in this place.
Signed-off-by: Kirill Tkhai <ktkhai@parallels.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: <stable@vger.kernel.org> # v3.14+
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/20140922183636.11015.83611.stgit@localhost
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/rt.c')
0 files changed, 0 insertions, 0 deletions