diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-11-27 23:16:45 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-05 00:34:25 +0300 |
commit | 7ba0f92bbb395d2de20a7e898c03284ba70bb516 (patch) | |
tree | 0a5335f809b0610ce5e81c6609151fd9f9fc6357 /scripts/gdb/linux/utils.py | |
parent | 33627d93d75702c70c898441602dbfba03e0f4cc (diff) | |
download | linux-7ba0f92bbb395d2de20a7e898c03284ba70bb516.tar.xz |
selftests: bpf: test_sockmap: handle file creation failures gracefully
[ Upstream commit 4b67c515036313f3c3ecba3cb2babb9cbddb3f85 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions