diff options
author | Yonghong Song <yhs@fb.com> | 2020-08-19 01:23:12 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-08-19 03:36:23 +0300 |
commit | 00fa1d83a8b50351c830521d00135e823c46e7d0 (patch) | |
tree | 586aac21b3840b28a2ad2c76e13dfe7c415b2970 /drivers/mailbox | |
parent | e60572b8d4c39572be6857d1ec91fdf979f8775f (diff) | |
download | linux-00fa1d83a8b50351c830521d00135e823c46e7d0.tar.xz |
bpftool: Handle EAGAIN error code properly in pids collection
When the error code is EAGAIN, the kernel signals the user
space should retry the read() operation for bpf iterators.
Let us do it.
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200818222312.2181675-1-yhs@fb.com
Diffstat (limited to 'drivers/mailbox')
0 files changed, 0 insertions, 0 deletions