]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net_sched: fix ip_tos2prio
authorDan Siemon <dan@coverfire.com>
Tue, 15 Mar 2011 13:56:07 +0000 (13:56 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Apr 2011 21:32:28 +0000 (14:32 -0700)
commit5d0fad1c60f42b4578ddbfd2ec54216f2f2155fc
treeb9026924b34ba0a6eb275058b527efd1b9219a00
parent03700d4553b9401fa37c7d942bf7b58d6565fe21
net_sched: fix ip_tos2prio

[ Upstream commit 4a2b9c3756077c05dd8666e458a751d2248b61b6 ]

ECN support incorrectly maps ECN BESTEFFORT packets to TC_PRIO_FILLER
(1) instead of TC_PRIO_BESTEFFORT (0)

This means ECN enabled flows are placed in pfifo_fast/prio low priority
band, giving ECN enabled flows [ECT(0) and CE codepoints] higher drop
probabilities.

This is rather unfortunate, given we would like ECN being more widely
used.

Ref : http://www.coverfire.com/archives/2011/03/13/pfifo_fast-and-ecn/

Signed-off-by: Dan Siemon <dan@coverfire.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Dave Täht <d@taht.net>
Cc: Jonathan Morton <chromatix99@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/route.c