Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
[firefly-linux-kernel-4.4.55.git] / include / net / tc_act / tc_pedit.h
index e6f6e15956f5fb9dfb5fcbd446fc3d60ed7f4ec1..5b80998879c7cf6c0bf7df280556de05b5831260 100644 (file)
@@ -9,7 +9,7 @@ struct tcf_pedit {
        unsigned char           tcfp_flags;
        struct tc_pedit_key     *tcfp_keys;
 };
-#define to_pedit(pc) \
-       container_of(pc, struct tcf_pedit, common)
+#define to_pedit(a) \
+       container_of(a->priv, struct tcf_pedit, common)
 
 #endif /* __NET_TC_PED_H */