forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
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;