aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tc_act/tc_csum.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/tc_act/tc_csum.h')
-rw-r--r--include/net/tc_act/tc_csum.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/net/tc_act/tc_csum.h b/include/net/tc_act/tc_csum.h
index fa8f5fac65e9..f31fb6331a53 100644
--- a/include/net/tc_act/tc_csum.h
+++ b/include/net/tc_act/tc_csum.h
@@ -5,11 +5,10 @@
#include <net/act_api.h>
struct tcf_csum {
- struct tcf_common common;
+ struct tc_action common;
u32 update_flags;
};
-#define to_tcf_csum(a) \
- container_of(a->priv,struct tcf_csum,common)
+#define to_tcf_csum(a) ((struct tcf_csum *)a)
#endif /* __NET_TC_CSUM_H */