net_sched: get rid of struct tcf_common
[cascardo/linux.git] / include / net / tc_act / tc_ipt.h
index c0f4193..3130976 100644 (file)
@@ -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 */