summaryrefslogtreecommitdiff
path: root/include/net/tc_act/tc_ife.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/tc_act/tc_ife.h')
-rw-r--r--include/net/tc_act/tc_ife.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/tc_act/tc_ife.h b/include/net/tc_act/tc_ife.h
index c55facd17b7e..7921abe42adc 100644
--- a/include/net/tc_act/tc_ife.h
+++ b/include/net/tc_act/tc_ife.h
@@ -16,8 +16,7 @@ struct tcf_ife_info {
/* list of metaids allowed */
struct list_head metalist;
};
-#define to_ife(a) \
- container_of(a->priv, struct tcf_ife_info, common)
+#define to_ife(a) ((struct tcf_ife_info *)a)
struct tcf_meta_info {
const struct tcf_meta_ops *ops;