]> git.baikalelectronics.ru Git - kernel.git/commit
net: sched: select cls when cls_act is enabled
authorJiri Pirko <jiri@mellanox.com>
Sun, 4 Jun 2017 16:49:28 +0000 (18:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Jun 2017 14:56:36 +0000 (10:56 -0400)
commitfcf51558289deeea1d13a27acc8166b186008ca5
treecfc7bb3f40565f90cd7430bd9867f3d9b9f39c6c
parentf5dba3fbea2ccd073014344f6c57e73c038241f1
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: 3ec067e91f09 ("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>
net/sched/Kconfig