summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorLorenz Bauer <lmb@cloudflare.com>2020-01-24 11:27:51 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-11 04:35:30 -0800
commit44a522bf5edc877b34ea07997fbcb61e9045c881 (patch)
tree88f55fd4eaa92adbf8fe396964a99c9cbea721c1 /crypto
parentda43712a7262891317883d4b3a909fb18dac4b1d (diff)
selftests: bpf: Use a temporary file in test_sockmap
commit c31dbb1e41d1857b403f9bf58c87f5898519a0bc upstream. Use a proper temporary file for sendpage tests. This means that running the tests doesn't clutter the working directory, and allows running the test on read-only filesystems. Fixes: 16962b2404ac ("bpf: sockmap, add selftests") Signed-off-by: Lorenz Bauer <lmb@cloudflare.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: Jakub Sitnicki <jakub@cloudflare.com> Acked-by: Martin KaFai Lau <kafai@fb.com> Acked-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/bpf/20200124112754.19664-2-lmb@cloudflare.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions