commit | a42b4799c683723e8c464de4026af085b2ebd5fa | [log] [tgz] |
---|---|---|
author | Vijay Subramanian <subramanian.vijay@gmail.com> | Thu Jan 19 10:20:59 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Jan 22 15:08:44 2012 -0500 |
tree | 303ebae69ea9f9db0a5bdf7020dc26c01af14afd | |
parent | 803143fbda719106017309d551d082e4b4e7c8c3 [diff] |
netem: Fix off-by-one bug in reordering With netem reordering, a gap of N is supposed to reorder every Nth packet with given reorder probability. However, the code currently skips N packets and reorders every (N+1)th packet. Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>