summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <toke@redhat.com>2020-08-13 16:29:05 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2020-08-13 22:30:31 +0200
commit23ab656be263813acc3c20623757d3cd1496d9e1 (patch)
treed06549aeba7a768fb50051dde65d3d8fb616fb56 /net/core
parentb33164f2bd1cedb094c32cb466287116164457ae (diff)
libbpf: Prevent overriding errno when logging errors
Turns out there were a few more instances where libbpf didn't save the errno before writing an error message, causing errno to be overridden by the printf() return and the error disappearing if logging is enabled. Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/20200813142905.160381-1-toke@redhat.com
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions