diff options
author | Alexei Starovoitov <ast@kernel.org> | 2020-06-23 15:32:42 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-06-23 15:33:41 -0700 |
commit | 4e608675e790b3f61b98bc38b3e8a38613b480ab (patch) | |
tree | 75252ccde9e3922143fe16ec7e346cbe5a4b680d /kernel | |
parent | 9d9d8cc21e3827b89e414f990016836290de3038 (diff) | |
parent | 02553b91da5deb63c8562b47529b09b734659af0 (diff) | |
download | linux-4e608675e790b3f61b98bc38b3e8a38613b480ab.tar.bz2 |
Merge up to bpf_probe_read_kernel_str() fix into bpf-next
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/trace/bpf_trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/bpf_trace.c b/kernel/trace/bpf_trace.c index e729c9e587a0..a3ac7de98baa 100644 --- a/kernel/trace/bpf_trace.c +++ b/kernel/trace/bpf_trace.c @@ -241,7 +241,7 @@ bpf_probe_read_kernel_str_common(void *dst, u32 size, const void *unsafe_ptr) if (unlikely(ret < 0)) goto fail; - return 0; + return ret; fail: memset(dst, 0, size); return ret; |