1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-01 21:38:26 +02:00
openwrt-xburst/target/linux/generic/patches-2.6.37/960-backport_tos2prio_ecn_fix.patch
nbd a2ba8cb781 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
2011-04-16 01:46:57 +00:00

12 lines
276 B
Diff

--- 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,