aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tc_act/tc_ipt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/tc_act/tc_ipt.h')
-rw-r--r--include/net/tc_act/tc_ipt.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/net/tc_act/tc_ipt.h b/include/net/tc_act/tc_ipt.h
index c0f4193f432c..31309766e379 100644
--- a/include/net/tc_act/tc_ipt.h
+++ b/include/net/tc_act/tc_ipt.h
@@ -6,12 +6,11 @@
struct xt_entry_target;
struct tcf_ipt {
- struct tcf_common common;
+ struct tc_action common;
u32 tcfi_hook;
char *tcfi_tname;
struct xt_entry_target *tcfi_t;
};
-#define to_ipt(a) \
- container_of(a->priv, struct tcf_ipt, common)
+#define to_ipt(a) ((struct tcf_ipt *)a)
#endif /* __NET_TC_IPT_H */