forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 95099d4622f8cb224d94e314c7a8e0df60b13f87
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;