]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bpf: test_sockmap, add options for msg_pop_data() helper
authorJohn Fastabend <john.fastabend@gmail.com>
Mon, 26 Nov 2018 22:16:19 +0000 (14:16 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 28 Nov 2018 21:07:57 +0000 (22:07 +0100)
commit1ade9abadfca0250c8256bb222a1cd5cc5fa8bbc
treec111feefec6b729f35b21583ffc2b66cfc4fbe27
parentd913a2273a8988cd810a031bfa08249ca7dd5f7c
bpf: test_sockmap, add options for msg_pop_data() helper

Similar to msg_pull_data and msg_push_data add a set of options to
have msg_pop_data() exercised.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/test_sockmap.c
tools/testing/selftests/bpf/test_sockmap_kern.h