diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2016-07-25 19:09:42 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-26 00:49:20 -0400 |
commit | ec0595cc4495be579309b4bfd5e997af0f2ae6f9 (patch) | |
tree | ec43ad59bbc09fa3ddc8382f33100bd1434fe182 /include/net/tc_act/tc_gact.h | |
parent | a85a970af265f156740977168b542234511b28a8 (diff) |
net_sched: get rid of struct tcf_common
After the previous patch, struct tc_action should be enough
to represent the generic tc action, tcf_common is not necessary
any more. This patch gets rid of it to make tc action code
more readable.
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tc_act/tc_gact.h')
-rw-r--r-- | include/net/tc_act/tc_gact.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tc_act/tc_gact.h b/include/net/tc_act/tc_gact.h index 119cdb418c23..b6f173910226 100644 --- a/include/net/tc_act/tc_gact.h +++ b/include/net/tc_act/tc_gact.h | |||
@@ -5,7 +5,7 @@ | |||
5 | #include <linux/tc_act/tc_gact.h> | 5 | #include <linux/tc_act/tc_gact.h> |
6 | 6 | ||
7 | struct tcf_gact { | 7 | struct tcf_gact { |
8 | struct tcf_common common; | 8 | struct tc_action common; |
9 | #ifdef CONFIG_GACT_PROB | 9 | #ifdef CONFIG_GACT_PROB |
10 | u16 tcfg_ptype; | 10 | u16 tcfg_ptype; |
11 | u16 tcfg_pval; | 11 | u16 tcfg_pval; |