[PATCH net 2/3] bpf: fix check_map_func_compatibility logic

2016-04-27 Thread Alexei Starovoitov
The commit 35578d798400 ("bpf: Implement function bpf_perf_event_read() that get the selected hardware PMU conuter") introduced clever way to check bpf_helper<->map_type compatibility. Later on commit a43eec304259 ("bpf: introduce bpf_perf_event_output() helper") adjusted the logic and inadverten

Re: [PATCH net 2/3] bpf: fix check_map_func_compatibility logic

2016-04-28 Thread Jann Horn
On Thu, Apr 28, 2016 at 3:56 AM, Alexei Starovoitov wrote: > The commit 35578d798400 ("bpf: Implement function bpf_perf_event_read() that > get the selected hardware PMU conuter") > introduced clever way to check bpf_helper<->map_type compatibility. > Later on commit a43eec304259 ("bpf: introduce