fq_codel: dont reinit flow state
authorEric Dumazet <eric.dumazet@gmail.com>
Sat, 1 Sep 2012 03:19:57 +0000 (03:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Sep 2012 18:36:50 +0000 (14:36 -0400)
commitb379135c40163ae79ba7a54e6928b53983e74ee8
treed6501834ec1f5e8d7fe2d0b0727f8e5c16c050f2
parent85e87870fa18ec9f5df98e2d3b48f3699560a570
fq_codel: dont reinit flow state

When fq_codel builds a new flow, it should not reset codel state.

Codel algo needs to get previous values (lastcount, drop_next) to get
proper behavior.

Signed-off-by: Dave Taht <dave.taht@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Dave Taht <dave.taht@bufferbloat.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_fq_codel.c