diff options
author | Jakub Sitnicki <[email protected]> | 2020-05-25 14:29:28 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-06-01 14:38:19 -0700 |
commit | fe537393b5795ecbe5746eec0e16124bc998a594 (patch) | |
tree | ec320e5e1cf106fb6ac8897740bc0988817bf11d /tools/perf/scripts/python/syscall-counts.py | |
parent | dc3ca5cf3e0be9fb73f4691247367d76a22bf30b (diff) |
bpf: Fix returned error sign when link doesn't support updates
System calls encode returned errors as negative values. Fix a typo that
breaks this convention for bpf(LINK_UPDATE) when bpf_link doesn't support
update operation.
Fixes: f9d041271cf4 ("bpf: Refactor bpf_link update handling")
Signed-off-by: Jakub Sitnicki <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions