Re: [PATCH] trace: reenable preemption if we modify the ip

From: Daniel Borkmann
Date: Sun Dec 17 2017 - 14:49:48 EST

On 12/16/2017 03:42 AM, Josef Bacik wrote:
> From: Josef Bacik <jbacik@xxxxxx>
> Things got moved around between the original bpf_override_return patches
> and the final version, and now the ftrace kprobe dispatcher assumes if
> you modified the ip that you also enabled preemption. Make a comment of
> this and enable preemption, this fixes the lockdep splat that happened
> when using this feature.
> Signed-off-by: Josef Bacik <jbacik@xxxxxx>

Applied to bpf-next with Fixes tag, thanks Josef.