summaryrefslogtreecommitdiff
path: root/include/net/tc_act/tc_defact.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/tc_act/tc_defact.h')
-rw-r--r--include/net/tc_act/tc_defact.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/tc_act/tc_defact.h b/include/net/tc_act/tc_defact.h
index 65f024b80958..9763dcbb9bc3 100644
--- a/include/net/tc_act/tc_defact.h
+++ b/include/net/tc_act/tc_defact.h
@@ -8,7 +8,7 @@ struct tcf_defact {
u32 tcfd_datalen;
void *tcfd_defdata;
};
-#define to_defact(pc) \
- container_of(pc, struct tcf_defact, common)
+#define to_defact(a) \
+ container_of(a->priv, struct tcf_defact, common)
#endif /* __NET_TC_DEF_H */