From 10ebd8556b7990499c896a550e3d416b444211e6 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 02:23:07 +0000
Subject: [PATCH] add led

---
 kernel/include/net/tc_act/tc_csum.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/include/net/tc_act/tc_csum.h b/kernel/include/net/tc_act/tc_csum.h
index 32d2454..68269e4 100644
--- a/kernel/include/net/tc_act/tc_csum.h
+++ b/kernel/include/net/tc_act/tc_csum.h
@@ -21,7 +21,7 @@
 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;

--
Gitblit v1.6.2