aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-11-26 18:16:23 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-11-26 18:16:23 +0000
commit253ff150e293ebb025198c69a3b27cc8bb5dc169 (patch)
tree91dfc71d0a283e61af679883efd43001931a6e9a
parent674ae4e62166e5f18173531d0a988e89cd8c52bc (diff)
downloadupstream-253ff150e293ebb025198c69a3b27cc8bb5dc169.tar.gz
upstream-253ff150e293ebb025198c69a3b27cc8bb5dc169.tar.bz2
upstream-253ff150e293ebb025198c69a3b27cc8bb5dc169.zip
the 'dev' member of the structure was removed in 2.6.27 (see:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5ce2d488fe039ddd86a638496cf704df86c74eeb), therefore use the qdisc_dev() function instead. Signed-off-by: Russell Senior <seniorr@aracnet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13366 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/generic-2.6/patches-2.6.27/200-sched_esfq.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.27/200-sched_esfq.patch b/target/linux/generic-2.6/patches-2.6.27/200-sched_esfq.patch
index 8c8b56bcd0..ef4c21f771 100644
--- a/target/linux/generic-2.6/patches-2.6.27/200-sched_esfq.patch
+++ b/target/linux/generic-2.6/patches-2.6.27/200-sched_esfq.patch
@@ -678,7 +678,7 @@
+ struct esfq_sched_data *q = qdisc_priv(sch);
+ int err;
+
-+ q->quantum = psched_mtu(sch->dev); /* default */
++ q->quantum = psched_mtu(qdisc_dev(sch)); /* default */
+ if ((err = esfq_q_init(q, opt)))
+ return err;
+
@@ -702,7 +702,7 @@
+
+ /* set up new queue */
+ memset(&new, 0, sizeof(struct esfq_sched_data));
-+ new.quantum = psched_mtu(sch->dev); /* default */
++ new.quantum = psched_mtu(qdisc_dev(sch)); /* default */
+ if ((err = esfq_q_init(&new, opt)))
+ return err;
+