diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-11-27 23:16:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-29 09:40:29 +0300 |
commit | 4b67c515036313f3c3ecba3cb2babb9cbddb3f85 (patch) | |
tree | 1c65cc52ee48a877be23fcc2203cfef98fca3fd8 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | c5daa6cccdc2f94aca2c9b3fa5f94e4469997293 (diff) | |
download | linux-4b67c515036313f3c3ecba3cb2babb9cbddb3f85.tar.xz |
selftests: bpf: test_sockmap: handle file creation failures gracefully
test_sockmap creates a temporary file to use for sendpage.
this may fail for various reasons. Handle the error rather
than segfault.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions