Re: [RFC PATCH v3 01/37] perf/events/core: fix race in bpf program unregister

Alexei Starovoitov
2015-05-18T16:59:07Z

On 5/17/15 3:56 AM, Wang Nan wrote:
> there is a race between perf_event_free_bpf_prog() and free_trace_kprobe():
...
> Fixes: 2541517c32be ("tracing, perf: Implement BPF programs attached to kprobes")
> Reported-by: Wang Nan <wangnan0@huawei.com>
> Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>

there is no need to repost it.
Rather ack and/or add your tested-by to original thread:
https://lkml.org/lkml/2015/5/15/586

My fix is also not related to this series. Your work exposed
the bug, but the fix is needed in 4.1 whereas this stuff is
targeting 4.2 the earliest.