net: fq_codel: Fix off-by-one error
authorVijay Subramanian <subramanian.vijay@gmail.com>
Thu, 28 Mar 2013 13:52:00 +0000 (13:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Mar 2013 19:32:23 +0000 (15:32 -0400)
commitcd68ddd4c29ab523440299f24ff2417fe7a0dca6
tree3d7adbca63406cef077fd4dcf6ce4a6c6e1d3cdb
parente6c3827dcfe53dd78b824d2ee4007a216ada739e
net: fq_codel: Fix off-by-one error

Currently, we hold a max of sch->limit -1 number of packets instead of
sch->limit packets. Fix this off-by-one error.

Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_fq_codel.c