3.11-stable review patch. If anyone has any objections, please let me know.
------------------ From: stephen hemminger <[email protected]> [ Upstream commit 638a52b801e40ed276ceb69b73579ad99365361a ] When packet is dropped from rb-tree netem the backlog statistic should also be updated. Reported-by: Сергеев Сергей <[email protected]> Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> --- net/sched/sch_netem.c | 1 + 1 file changed, 1 insertion(+) --- a/net/sched/sch_netem.c +++ b/net/sched/sch_netem.c @@ -523,6 +523,7 @@ static unsigned int netem_drop(struct Qd skb->next = NULL; skb->prev = NULL; len = qdisc_pkt_len(skb); + sch->qstats.backlog -= len; kfree_skb(skb); } } -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

