hc
2024-05-10 ee930fffee469d076998274a2ca55e13dc1efb67
kernel/include/net/tc_act/tc_csum.h
....@@ -21,7 +21,7 @@
2121 static inline bool is_tcf_csum(const struct tc_action *a)
2222 {
2323 #ifdef CONFIG_NET_CLS_ACT
24
- if (a->ops && a->ops->type == TCA_ACT_CSUM)
24
+ if (a->ops && a->ops->id == TCA_ID_CSUM)
2525 return true;
2626 #endif
2727 return false;