summaryrefslogtreecommitdiffstats
path: root/include/net/tc_act/tc_csum.h
diff options
context:
space:
mode:
authorWANG Cong <xiyou.wangcong@gmail.com>2016-07-26 01:09:42 +0200
committerDavid S. Miller <davem@davemloft.net>2016-07-26 06:49:20 +0200
commitec0595cc4495be579309b4bfd5e997af0f2ae6f9 (patch)
treeec43ad59bbc09fa3ddc8382f33100bd1434fe182 /include/net/tc_act/tc_csum.h
parentnet_sched: move tc_action into tcf_common (diff)
downloadlinux-ec0595cc4495be579309b4bfd5e997af0f2ae6f9.tar.xz
linux-ec0595cc4495be579309b4bfd5e997af0f2ae6f9.zip
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_csum.h')
-rw-r--r--include/net/tc_act/tc_csum.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tc_act/tc_csum.h b/include/net/tc_act/tc_csum.h
index 1a9ef15d573b..f31fb6331a53 100644
--- a/include/net/tc_act/tc_csum.h
+++ b/include/net/tc_act/tc_csum.h
@@ -5,7 +5,7 @@
#include <net/act_api.h>
struct tcf_csum {
- struct tcf_common common;
+ struct tc_action common;
u32 update_flags;
};