diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-11-27 12:16:45 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-28 22:40:29 -0800 |
commit | 4b67c515036313f3c3ecba3cb2babb9cbddb3f85 (patch) | |
tree | 1c65cc52ee48a877be23fcc2203cfef98fca3fd8 /scripts/gdb/linux/utils.py | |
parent | c5daa6cccdc2f94aca2c9b3fa5f94e4469997293 (diff) |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions