aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2016-04-28 01:56:21 +0000
committerDavid S. Miller <[email protected]>2016-04-28 21:29:45 +0000
commit6aff67c85c9e5a4bc99e5211c1bac547936626ca (patch)
tree3be9fa8e180334d6f8e0c5edb5e47f8113f4b2f4 /net/tipc/node.c
parentbpf: fix refcnt overflow (diff)
downloadkernel-6aff67c85c9e5a4bc99e5211c1bac547936626ca.tar.gz
kernel-6aff67c85c9e5a4bc99e5211c1bac547936626ca.zip
bpf: fix check_map_func_compatibility logic
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 inadvertently broke it. Get rid of the clever bool compare and go back to two-way check from map and from helper perspective. Fixes: a43eec304259 ("bpf: introduce bpf_perf_event_output() helper") Reported-by: Jann Horn <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions