commit | c4ce0da8ec62d83c96e29db7dadd6d3985344bb3 | [log] [tgz] |
---|---|---|
author | Petr Mladek <pmladek@suse.cz> | Wed Feb 18 18:02:13 2015 +0100 |
committer | Jiri Kosina <jkosina@suse.cz> | Sun Feb 22 23:02:56 2015 +0100 |
tree | 1e7f1cc23c34e21a0238926df348a1d22f4f0cca | |
parent | e0b561ee78d82a4cc7792aa28fa4b1ea15325dcc [diff] |
livepatch: RCU protect struct klp_func all the time when used in klp_ftrace_handler() func->new_func has been accessed after rcu_read_unlock() in klp_ftrace_handler() and therefore the access was not protected. Signed-off-by: Petr Mladek <pmladek@suse.cz> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>