]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
selftests: bpf: add missing NET_SCHED to config
authorAnders Roxell <anders.roxell@linaro.org>
Mon, 25 Jun 2018 14:56:05 +0000 (16:56 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 26 Jun 2018 10:05:40 +0000 (12:05 +0200)
CONFIG_NET_SCHED wasn't enabled in arm64's defconfig only for x86.

So bpf/test_tunnel.sh tests fails with:

  RTNETLINK answers: Operation not supported
  RTNETLINK answers: Operation not supported
  We have an error talking to the kernel, -1

Enable NET_SCHED and more tests pass.

Fixes: 3bce593ac06b ("selftests: bpf: config: add config fragments")
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/config

index 7eb613ffef55a827850aaa091f94033212f15da8..b4994a94968bfd9d12965fd630cba7e99458a30a 100644 (file)
@@ -6,6 +6,7 @@ CONFIG_TEST_BPF=m
 CONFIG_CGROUP_BPF=y
 CONFIG_NETDEVSIM=m
 CONFIG_NET_CLS_ACT=y
+CONFIG_NET_SCHED=y
 CONFIG_NET_SCH_INGRESS=y
 CONFIG_NET_IPIP=y
 CONFIG_IPV6=y