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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/tc_act/tc_ipt.h b/include/net/tc_act/tc_ipt.h
index f7d25dfcc4b7..c0f4193f432c 100644
--- a/include/net/tc_act/tc_ipt.h
+++ b/include/net/tc_act/tc_ipt.h
@@ -11,7 +11,7 @@ struct tcf_ipt {
char *tcfi_tname;
struct xt_entry_target *tcfi_t;
};
-#define to_ipt(pc) \
- container_of(pc, struct tcf_ipt, common)
+#define to_ipt(a) \
+ container_of(a->priv, struct tcf_ipt, common)
#endif /* __NET_TC_IPT_H */