summaryrefslogtreecommitdiff
path: root/include/net/tc_act/tc_csum.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/tc_act/tc_csum.h')
-rw-r--r--include/net/tc_act/tc_csum.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tc_act/tc_csum.h b/include/net/tc_act/tc_csum.h
index 32d2454c0479..68269e4581b7 100644
--- a/include/net/tc_act/tc_csum.h
+++ b/include/net/tc_act/tc_csum.h
@@ -21,7 +21,7 @@ struct tcf_csum {
static inline bool is_tcf_csum(const struct tc_action *a)
{
#ifdef CONFIG_NET_CLS_ACT
- if (a->ops && a->ops->type == TCA_ACT_CSUM)
+ if (a->ops && a->ops->id == TCA_ID_CSUM)
return true;
#endif
return false;