aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iproute2/patches/090-tc-add-support-for-action-act_ctinfo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/utils/iproute2/patches/090-tc-add-support-for-action-act_ctinfo.patch')
-rw-r--r--package/network/utils/iproute2/patches/090-tc-add-support-for-action-act_ctinfo.patch10
1 files changed, 4 insertions, 6 deletions
diff --git a/package/network/utils/iproute2/patches/090-tc-add-support-for-action-act_ctinfo.patch b/package/network/utils/iproute2/patches/090-tc-add-support-for-action-act_ctinfo.patch
index 6335cca03a..4e14a09eeb 100644
--- a/package/network/utils/iproute2/patches/090-tc-add-support-for-action-act_ctinfo.patch
+++ b/package/network/utils/iproute2/patches/090-tc-add-support-for-action-act_ctinfo.patch
@@ -77,16 +77,14 @@ diff --git a/include/uapi/linux/pkt_cls.h b/include/uapi/linux/pkt_cls.h
index 95d0db2a..a6e7e176 100644
--- a/include/uapi/linux/pkt_cls.h
+++ b/include/uapi/linux/pkt_cls.h
-@@ -68,7 +68,8 @@ enum {
- TCA_ID_UNSPEC=0,
- TCA_ID_POLICE=1,
+@@ -105,6 +105,7 @@ enum tca_id {
+ TCA_ID_IFE = TCA_ACT_IFE,
+ TCA_ID_SAMPLE = TCA_ACT_SAMPLE,
/* other actions go here */
-- __TCA_ID_MAX=255
+ TCA_ID_CTINFO=27,
-+ __TCA_ID_MAX = 255
+ __TCA_ID_MAX = 255
};
- #define TCA_ID_MAX __TCA_ID_MAX
diff --git a/include/uapi/linux/tc_act/tc_ctinfo.h b/include/uapi/linux/tc_act/tc_ctinfo.h
new file mode 100644
index 00000000..f5f26d95