selftests: net: Adding config fragment CONFIG_CGROUP_BPF=y

Message ID 1512674639-13764-1-git-send-email-naresh.kamboju@linaro.org
State Changes Requested
Delegated to: BPF Maintainers
Headers show
Series
  • selftests: net: Adding config fragment CONFIG_CGROUP_BPF=y
Related show

Commit Message

Naresh Kamboju Dec. 7, 2017, 7:23 p.m.
CONFIG_CGROUP_BPF=y is required for test_dev_cgroup test case.

Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
---
 tools/testing/selftests/net/config | 1 +
 1 file changed, 1 insertion(+)

Comments

Daniel Borkmann Dec. 8, 2017, 4:29 p.m. | #1
On 12/07/2017 08:23 PM, Naresh Kamboju wrote:
> CONFIG_CGROUP_BPF=y is required for test_dev_cgroup test case.
> 
> Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
> ---
>  tools/testing/selftests/net/config | 1 +

Did you mean to add this to tools/testing/selftests/bpf/config instead?

test_dev_cgroup is under bpf selftests. Please respin for the correct
test suite.

>  1 file changed, 1 insertion(+)
> 
> diff --git a/tools/testing/selftests/net/config b/tools/testing/selftests/net/config
> index e57b4ac..02301c6 100644
> --- a/tools/testing/selftests/net/config
> +++ b/tools/testing/selftests/net/config
> @@ -1,3 +1,4 @@
>  CONFIG_USER_NS=y
>  CONFIG_BPF_SYSCALL=y
>  CONFIG_TEST_BPF=m
> +CONFIG_CGROUP_BPF=y
>

Patch

diff --git a/tools/testing/selftests/net/config b/tools/testing/selftests/net/config
index e57b4ac..02301c6 100644
--- a/tools/testing/selftests/net/config
+++ b/tools/testing/selftests/net/config
@@ -1,3 +1,4 @@ 
 CONFIG_USER_NS=y
 CONFIG_BPF_SYSCALL=y
 CONFIG_TEST_BPF=m
+CONFIG_CGROUP_BPF=y