summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/xdping.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2019-11-27 12:16:45 -0800
committerDavid S. Miller <davem@davemloft.net>2019-11-28 22:40:29 -0800
commit4b67c515036313f3c3ecba3cb2babb9cbddb3f85 (patch)
tree1c65cc52ee48a877be23fcc2203cfef98fca3fd8 /tools/testing/selftests/bpf/xdping.c
parentc5daa6cccdc2f94aca2c9b3fa5f94e4469997293 (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 'tools/testing/selftests/bpf/xdping.c')
0 files changed, 0 insertions, 0 deletions