netem: fix loss 4 state model
authorstephen hemminger <stephen@networkplumber.org>
Fri, 29 Nov 2013 19:03:35 +0000 (11:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Nov 2013 17:49:28 +0000 (12:49 -0500)
commitab6c27be8178a4682446faa5aa017b948997937f
tree2159be97daea3dc8980376ff13dc7b90c140ca4e
parent7c2781fa92f5b9ca3188817a56a2ced0400355f3
netem: fix loss 4 state model

Patch from developers of the alternative loss models, downloaded from:
   http://netgroup.uniroma2.it/twiki/bin/view.cgi/Main/NetemCLG

 "In the case 1 of the switch statement in the if conditions we
   need to add clg->a4 to clg->a1, according to the model."

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_netem.c