diff --git a/[refs] b/[refs] index 29946da7455d..affecab8c497 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2053c4727c5a891bf182397e425b6cb87b2ae613 +refs/heads/master: bb80d880ad2b11cd4ea5f28f815016b1548224a4 diff --git a/trunk/security/tomoyo/common.h b/trunk/security/tomoyo/common.h index ed311d7a8ce0..cb9f5c2d6f3a 100644 --- a/trunk/security/tomoyo/common.h +++ b/trunk/security/tomoyo/common.h @@ -1122,7 +1122,7 @@ static inline pid_t tomoyo_sys_getppid(void) { pid_t pid; rcu_read_lock(); - pid = task_tgid_vnr(current->real_parent); + pid = task_tgid_vnr(rcu_dereference(current->real_parent)); rcu_read_unlock(); return pid; }