aboutsummaryrefslogtreecommitdiffstats
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
parentnet/tls: use sg_next() to walk sg entries (diff)
downloadlinux-dev-4b67c515036313f3c3ecba3cb2babb9cbddb3f85.tar.xz
linux-dev-4b67c515036313f3c3ecba3cb2babb9cbddb3f85.zip
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 '')
0 files changed, 0 insertions, 0 deletions