summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-04-16 01:46:57 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-04-16 01:46:57 +0000
commita2ba8cb78151ebcf278aa3bb60b168da9193db4d (patch)
treeddc3b591c1e7a45b8093104f5bb44e66cdb020c2
parent84a5abf7df7647042004d307d97cd8bfdc968f60 (diff)
kernel: backport the fix "net_sched: fix ip_tos2prio" for 2.6.37
Fixes a bug that led to ECN enabled flows being de-prioritized by pfifo_fast git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26687 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/generic/patches-2.6.37/960-backport_tos2prio_ecn_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.37/960-backport_tos2prio_ecn_fix.patch b/target/linux/generic/patches-2.6.37/960-backport_tos2prio_ecn_fix.patch
new file mode 100644
index 0000000000..c10c41cfdd
--- /dev/null
+++ b/target/linux/generic/patches-2.6.37/960-backport_tos2prio_ecn_fix.patch
@@ -0,0 +1,11 @@
+--- a/net/ipv4/route.c
++++ b/net/ipv4/route.c
+@@ -165,7 +165,7 @@ static struct dst_ops ipv4_dst_ops = {
+
+ const __u8 ip_tos2prio[16] = {
+ TC_PRIO_BESTEFFORT,
+- ECN_OR_COST(FILLER),
++ ECN_OR_COST(BESTEFFORT),
+ TC_PRIO_BESTEFFORT,
+ ECN_OR_COST(BESTEFFORT),
+ TC_PRIO_BULK,