kernel: backport the fix "net_sched: fix ip_tos2prio" for 2.6.37 Fixes a bug that...
authorFelix Fietkau <nbd@openwrt.org>
Sat, 16 Apr 2011 01:46:57 +0000 (01:46 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 16 Apr 2011 01:46:57 +0000 (01:46 +0000)
SVN-Revision: 26687

target/linux/generic/patches-2.6.37/960-backport_tos2prio_ecn_fix.patch [new file with mode: 0644]

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 (file)
index 0000000..c10c41c
--- /dev/null
@@ -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,