Skip to content

Commit

Permalink
net: sched: select cls when cls_act is enabled
Browse files Browse the repository at this point in the history
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 <[email protected]>
Fixes: db50514 ("net: sched: add termination action to allow goto chain")
Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
jpirko authored and davem330 committed Jun 5, 2017
1 parent 4e2ec43 commit 8ec1507
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/sched/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8ec1507

Please sign in to comment.