diff options
author | Amir Vadai | 2016-03-08 12:42:31 +0200 |
---|---|---|
committer | David S. Miller | 2016-03-10 16:24:02 -0500 |
commit | 00175aec941e9c306d8a5ce930b2d91f7c04468c (patch) | |
tree | d269c99cb155b40765f5687154098063e72f56ae /certs/Kconfig | |
parent | 8de2d793daf784f8f109565bcc023a6d198bad85 (diff) |
net/sched: Macro instead of CONFIG_NET_CLS_ACT ifdef
Introduce the macros tc_no_actions and tc_for_each_action to make code
clearer.
Extracted struct tc_action out of the ifdef to make calls to
is_tcf_gact_shot() and similar functions valid, even when it is a nop.
Acked-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: John Fastabend <john.r.fastabend@intel.com>
Suggested-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Amir Vadai <amir@vadai.me>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'certs/Kconfig')
0 files changed, 0 insertions, 0 deletions