diff options
| author | Olav Haugan <ohaugan@codeaurora.org> | 2016-03-05 13:47:52 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:25:21 -0700 |
| commit | b29f9a7a8403e7245ed9f939da67caa3fae7dce9 (patch) | |
| tree | 1a589372e46a6df4e219559f0b0a87e868cde284 /kernel/sysctl.c | |
| parent | 615b6f6221f4a3e0df5bd403f3a14b0afe75f821 (diff) | |
sched/core: Add protection against null-pointer dereference
p->grp is being accessed outside of lock which can cause null-pointer
dereference. Fix this and also add rcu critical section around access
of this data structure.
CRs-fixed: 985379
Change-Id: Ic82de6ae2821845d704f0ec18046cc6a24f98e39
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
[joonwoop@codeaurora.org: fixed conflict in init_new_task_load().]
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions
