Re: [PATCH] livepatch: RCU protect struct klp_func all the time when used in klp_ftrace_handler()

From: Jiri Kosina
Date: Sun Feb 22 2015 - 17:03:55 EST

On Wed, 18 Feb 2015, Petr Mladek wrote:

> 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@xxxxxxx>

Applied to for-3.20/upstream-fixes, thanks.

Jiri Kosina
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at