--- zzzz-none-000/linux-3.10.107/include/net/tc_act/tc_nat.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/include/net/tc_act/tc_nat.h 2021-02-04 17:41:59.000000000 +0000 @@ -13,9 +13,9 @@ u32 flags; }; -static inline struct tcf_nat *to_tcf_nat(struct tcf_common *pc) +static inline struct tcf_nat *to_tcf_nat(struct tc_action *a) { - return container_of(pc, struct tcf_nat, common); + return container_of(a->priv, struct tcf_nat, common); } #endif /* __NET_TC_NAT_H */