commit | cd961c2ca98efbe7d738ca8720673fc03538b2b1 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Wed Feb 15 20:28:25 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 19 18:57:50 2012 -0500 |
tree | f53abc9d2ac6bdd0659c46e30ac44e2cbdf74f01 | |
parent | b01543dfe67bb1d191998e90d20534dc354de059 [diff] |
netem: fix dequeue commit 50612537e9 (netem: fix classful handling) added two errors in netem_dequeue() 1) After checking skb at the head of tfifo queue for time constraints, it dequeues tail skb, thus adding unwanted reordering. 2) qdisc stats are updated twice per packet (one when packet dequeued from tfifo, once when delivered) Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>