mirror of
https://github.com/LiBwrt/nss-packages.git
synced 2025-12-16 17:15:09 +00:00
15 lines
436 B
Diff
15 lines
436 B
Diff
--- a/frontends/nss/ecm_nss_common.h
|
|
+++ b/frontends/nss/ecm_nss_common.h
|
|
@@ -277,8 +277,10 @@ static inline bool ecm_nss_common_igs_ac
|
|
*/
|
|
#if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0))
|
|
if (likely(!(to_dev->ingress_cl_list))) {
|
|
-#else
|
|
+#elif (LINUX_VERSION_CODE < KERNEL_VERSION(6, 6, 0))
|
|
if (likely(!(to_dev->miniq_ingress))) {
|
|
+#else
|
|
+ if (likely(!(to_dev->tcx_ingress))) {
|
|
#endif
|
|
dev_put(to_dev);
|
|
continue;
|