commit | ce52399520e4b97466165737e00c7b528ae8c8f5 | [log] [tgz] |
---|---|---|
author | Aleksa Sarai <cyphar@cyphar.com> | Tue Aug 25 12:50:44 2015 +1000 |
committer | Tejun Heo <tj@kernel.org> | Tue Aug 25 14:19:25 2015 -0400 |
tree | 3b81c86ac3758e9c35794b76a62b7965c3074750 | |
parent | cf780b7dc795ff495629b9879dc874eda49ada62 [diff] |
cgroup: pids: fix invalid get/put usage Fix incorrect usage of css_get and css_put to put a different css in pids_{cancel_,}attach() than the one grabbed in pids_can_attach(). This could lead to quite serious memory leakage (and unsafe operations on the putted css). tj: minor comment update Signed-off-by: Aleksa Sarai <cyphar@cyphar.com> Signed-off-by: Tejun Heo <tj@kernel.org>