From: Josef Bacik <josef@toxicpanda.com> Date: 2017-12-16 02:43:02
From: Josef Bacik <redacted>
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 <redacted>
---
kernel/trace/trace_kprobe.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
From: Daniel Borkmann <daniel@iogearbox.net> Date: 2017-12-17 19:49:33
On 12/16/2017 03:42 AM, Josef Bacik wrote:
From: Josef Bacik <redacted>
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 <redacted>
On Fri, 15 Dec 2017 21:42:57 -0500
Josef Bacik [off-list ref] wrote:
quoted hunk
From: Josef Bacik <redacted>
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 <redacted>
---
kernel/trace/trace_kprobe.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)