Josef Bacik 46df3d209d trace: reenable preemption if we modify the ip
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.

Fixes: 9802d86585db ("bpf: add a bpf_override_function helper")
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2017-12-17 20:47:32 +01:00
..
2017-11-27 12:03:58 -07:00
2017-11-17 14:58:01 -08:00
2017-11-17 14:58:01 -08:00
2017-11-17 14:58:01 -08:00
2017-10-16 18:13:28 -04:00
2017-10-04 13:10:39 -04:00
2017-11-17 14:58:01 -08:00
2017-11-17 14:58:01 -08:00
2017-11-17 14:58:01 -08:00
2017-11-17 14:58:01 -08:00
2017-11-17 14:58:01 -08:00