]> git.baikalelectronics.ru Git - kernel.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)
commit7596f11edcdb53f86112b6a50ced557731a330c4
treec111feefec6b729f35b21583ffc2b66cfc4fbe27
parentc920feee1658a4cc4a78193eb3f253051840104e
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