summaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2017-06-04 18:49:28 +0200
committerDavid S. Miller <davem@davemloft.net>2017-06-05 10:56:36 -0400
commit8ec1507dc9d16ecd9ada2f67efa95f8d586335fb (patch)
treecfc7bb3f40565f90cd7430bd9867f3d9b9f39c6c /net/sched
parent4e2ec43654f240a3731612764850140f669d1b4b (diff)
downloadlinux-stable-8ec1507dc9d16ecd9ada2f67efa95f8d586335fb.tar.gz
linux-stable-8ec1507dc9d16ecd9ada2f67efa95f8d586335fb.tar.bz2
linux-stable-8ec1507dc9d16ecd9ada2f67efa95f8d586335fb.zip
net: sched: select cls when cls_act is enabled
It really makes no sense to have cls_act enabled without cls. In that case, the cls_act code is dead. So select it. This also fixes an issue recently reported by kbuild robot: [linux-next:master 1326/4151] net/sched/act_api.c:37:18: error: implicit declaration of function 'tcf_chain_get' Reported-by: kbuild test robot <fengguang.wu@intel.com> Fixes: db50514f9a9c ("net: sched: add termination action to allow goto chain") Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
-rw-r--r--net/sched/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/Kconfig b/net/sched/Kconfig
index 9fb84f0de6af..e70ed26485a2 100644
--- a/net/sched/Kconfig
+++ b/net/sched/Kconfig
@@ -649,6 +649,7 @@ config NET_EMATCH_IPSET
config NET_CLS_ACT
bool "Actions"
+ select NET_CLS
---help---
Say Y here if you want to use traffic control actions. Actions
get attached to classifiers and are invoked after a successful