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

From: Alexei Starovoitov
Date: Mon May 18 2015 - 12:59:13 EST


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@xxxxxxxxxx>
Signed-off-by: Alexei Starovoitov <ast@xxxxxxxxxxxx>

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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/