kernel/include/net/tc_act/tc_pedit.h
.. .. @@ -14,6 +14,7 @@ 14 14 struct tc_action common; 15 15 unsigned char tcfp_nkeys; 16 16 unsigned char tcfp_flags; 17 + u32 tcfp_off_max_hint;17 18 struct tc_pedit_key *tcfp_keys; 18 19 struct tcf_pedit_key_ex *tcfp_keys_ex; 19 20 }; .. .. @@ -23,7 +24,7 @@ 23 24 static inline bool is_tcf_pedit(const struct tc_action *a) 24 25 { 25 26 #ifdef CONFIG_NET_CLS_ACT 26 - if (a->ops && a->ops->type == TCA_ACT_PEDIT)27 + if (a->ops && a->ops->id == TCA_ID_PEDIT)27 28 return true; 28 29 #endif 29 30 return false;