diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-04-16 01:46:57 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-04-16 01:46:57 +0000 |
commit | 2066c21c920245489729bba8ec866e74e72f52e1 (patch) | |
tree | 23f774ea7f429f0979e9b192ad75c913caabb9be /target/linux/generic | |
parent | 69f8f5ebfdd7e55b94c38f2c9a6ba54cde503847 (diff) | |
download | mtk-20170518-2066c21c920245489729bba8ec866e74e72f52e1.zip mtk-20170518-2066c21c920245489729bba8ec866e74e72f52e1.tar.gz mtk-20170518-2066c21c920245489729bba8ec866e74e72f52e1.tar.bz2 |
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
SVN-Revision: 26687
Diffstat (limited to 'target/linux/generic')
-rw-r--r-- | target/linux/generic/patches-2.6.37/960-backport_tos2prio_ecn_fix.patch | 11 |
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 0000000..c10c41c --- /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, |