[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Small bug in the ingress qdisc?



Hello,

Shouldn't this be as below? (Linux version 2.4.0-test2-ac2)

--- sch_ingress.orig	Tue Jun 27 11:38:44 2000
+++ sch_ingress.c	Tue Jun 27 11:47:51 2000
@@ -157,9 +157,9 @@
 #endif
 	};
 
-#ifdef CONFIG_NET_CLS_TCINDEX
+#if defined(CONFIG_NET_CLS_TCINDEX) || defined(CONFIG_NET_CLS_TCINDEX_MODULE)
          skb->tc_index = TC_H_MIN(res.classid);
-#endif
+#endif /* CONFIG_NET_CLS_TCINDEX || CONFIG_NET_CLS_TCINDEX_MODULE */ 
 	return result;
 }