aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/utils.c
diff options
context:
space:
mode:
authorHagen Paul Pfeifer <[email protected]>2013-10-22 21:27:06 +0000
committerDavid S. Miller <[email protected]>2013-10-25 23:03:39 +0000
commit4a3ad7b3eade08ad1c760aaa4fe06a36f2584939 (patch)
tree0006fbd7b270176d09bd80e6c7095e380c693571 /net/core/utils.c
parentMerge tag 'batman-adv-for-davem' of git://git.open-mesh.org/linux-merge (diff)
downloadkernel-4a3ad7b3eade08ad1c760aaa4fe06a36f2584939.tar.gz
kernel-4a3ad7b3eade08ad1c760aaa4fe06a36f2584939.zip
netem: markov loss model transition fix
The transition from markov state "3 => lost packets within a burst period" to "1 => successfully transmitted packets within a gap period" has no *additional* loss event. The loss already happen for transition from 1 -> 3, this additional loss will make things go wild. E.g. transition probabilities: p13: 10% p31: 100% Expected: Ploss = p13 / (p13 + p31) Ploss = ~9.09% ... but it isn't. Even worse: we get a double loss - each time. So simple don't return true to indicate loss, rather break and return false. Signed-off-by: Hagen Paul Pfeifer <[email protected]> Cc: Stephen Hemminger <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Stefano Salsano <[email protected]> Cc: Fabio Ludovici <[email protected]> Signed-off-by: Hagen Paul Pfeifer <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/core/utils.c')
0 files changed, 0 insertions, 0 deletions