From: Nicolas Thill Date: Wed, 23 Dec 2009 08:12:15 +0000 (+0000) Subject: generic: ESFQ patch, only include net/netfilter/nf_conntrack.h when CONFIG_NET_SCH_ES... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3969ccfde44258a7d158be8a789ae64adab7e76f;p=openwrt%2Fstaging%2Fblocktrron.git generic: ESFQ patch, only include net/netfilter/nf_conntrack.h when CONFIG_NET_SCH_ESFQ_NFCT is set (fixes build failure on target where CONFIG_NETFILTER is not set) SVN-Revision: 18900 --- diff --git a/target/linux/generic-2.6/patches-2.6.25/200-sched_esfq.patch b/target/linux/generic-2.6/patches-2.6.25/200-sched_esfq.patch index a3c02625d9..3f66e2c674 100644 --- a/target/linux/generic-2.6/patches-2.6.25/200-sched_esfq.patch +++ b/target/linux/generic-2.6/patches-2.6.25/200-sched_esfq.patch @@ -90,7 +90,7 @@ obj-$(CONFIG_NET_SCH_PRIO) += sch_prio.o --- /dev/null +++ b/net/sched/sch_esfq.c -@@ -0,0 +1,702 @@ +@@ -0,0 +1,704 @@ +/* + * net/sched/sch_esfq.c Extended Stochastic Fairness Queueing discipline. + * @@ -143,7 +143,9 @@ +#include +#include +#include ++#ifdef CONFIG_NET_SCH_ESFQ_NFCT +#include ++#endif + +/* Stochastic Fairness Queuing algorithm. + For more comments look at sch_sfq.c. diff --git a/target/linux/generic-2.6/patches-2.6.28/200-sched_esfq.patch b/target/linux/generic-2.6/patches-2.6.28/200-sched_esfq.patch index f9ce66efcf..5e2bfba45b 100644 --- a/target/linux/generic-2.6/patches-2.6.28/200-sched_esfq.patch +++ b/target/linux/generic-2.6/patches-2.6.28/200-sched_esfq.patch @@ -90,7 +90,7 @@ obj-$(CONFIG_NET_SCH_PRIO) += sch_prio.o --- /dev/null +++ b/net/sched/sch_esfq.c -@@ -0,0 +1,702 @@ +@@ -0,0 +1,704 @@ +/* + * net/sched/sch_esfq.c Extended Stochastic Fairness Queueing discipline. + * @@ -143,7 +143,9 @@ +#include +#include +#include ++#ifdef CONFIG_NET_SCH_ESFQ_NFCT +#include ++#endif + +/* Stochastic Fairness Queuing algorithm. + For more comments look at sch_sfq.c. diff --git a/target/linux/generic-2.6/patches-2.6.30/200-sched_esfq.patch b/target/linux/generic-2.6/patches-2.6.30/200-sched_esfq.patch index f72c0e3705..bf123ce780 100644 --- a/target/linux/generic-2.6/patches-2.6.30/200-sched_esfq.patch +++ b/target/linux/generic-2.6/patches-2.6.30/200-sched_esfq.patch @@ -90,7 +90,7 @@ obj-$(CONFIG_NET_SCH_PRIO) += sch_prio.o --- /dev/null +++ b/net/sched/sch_esfq.c -@@ -0,0 +1,700 @@ +@@ -0,0 +1,702 @@ +/* + * net/sched/sch_esfq.c Extended Stochastic Fairness Queueing discipline. + * @@ -144,7 +144,9 @@ +#include +#include +#include ++#ifdef CONFIG_NET_SCH_ESFQ_NFCT +#include ++#endif + +/* Stochastic Fairness Queuing algorithm. + For more comments look at sch_sfq.c. diff --git a/target/linux/generic-2.6/patches-2.6.31/200-sched_esfq.patch b/target/linux/generic-2.6/patches-2.6.31/200-sched_esfq.patch index fb28e90858..f3636e6521 100644 --- a/target/linux/generic-2.6/patches-2.6.31/200-sched_esfq.patch +++ b/target/linux/generic-2.6/patches-2.6.31/200-sched_esfq.patch @@ -90,7 +90,7 @@ obj-$(CONFIG_NET_SCH_PRIO) += sch_prio.o --- /dev/null +++ b/net/sched/sch_esfq.c -@@ -0,0 +1,700 @@ +@@ -0,0 +1,702 @@ +/* + * net/sched/sch_esfq.c Extended Stochastic Fairness Queueing discipline. + * @@ -144,7 +144,9 @@ +#include +#include +#include ++#ifdef CONFIG_NET_SCH_ESFQ_NFCT +#include ++#endif + +/* Stochastic Fairness Queuing algorithm. + For more comments look at sch_sfq.c. diff --git a/target/linux/generic-2.6/patches-2.6.32/200-sched_esfq.patch b/target/linux/generic-2.6/patches-2.6.32/200-sched_esfq.patch index fb28e90858..f3636e6521 100644 --- a/target/linux/generic-2.6/patches-2.6.32/200-sched_esfq.patch +++ b/target/linux/generic-2.6/patches-2.6.32/200-sched_esfq.patch @@ -90,7 +90,7 @@ obj-$(CONFIG_NET_SCH_PRIO) += sch_prio.o --- /dev/null +++ b/net/sched/sch_esfq.c -@@ -0,0 +1,700 @@ +@@ -0,0 +1,702 @@ +/* + * net/sched/sch_esfq.c Extended Stochastic Fairness Queueing discipline. + * @@ -144,7 +144,9 @@ +#include +#include +#include ++#ifdef CONFIG_NET_SCH_ESFQ_NFCT +#include ++#endif + +/* Stochastic Fairness Queuing algorithm. + For more comments look at sch_sfq.c.