diff options
Diffstat (limited to 'net/sched/sch_netem.c')
-rw-r--r-- | net/sched/sch_netem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sched/sch_netem.c b/net/sched/sch_netem.c index 4818da5a7e6c..791c615e3aad 100644 --- a/net/sched/sch_netem.c +++ b/net/sched/sch_netem.c | |||
@@ -429,7 +429,8 @@ static int netem_change(struct Qdisc *sch, struct rtattr *opt) | |||
429 | /* for compatiablity with earlier versions. | 429 | /* for compatiablity with earlier versions. |
430 | * if gap is set, need to assume 100% probablity | 430 | * if gap is set, need to assume 100% probablity |
431 | */ | 431 | */ |
432 | q->reorder = ~0; | 432 | if (q->gap) |
433 | q->reorder = ~0; | ||
433 | 434 | ||
434 | /* Handle nested options after initial queue options. | 435 | /* Handle nested options after initial queue options. |
435 | * Should have put all options in nested format but too late now. | 436 | * Should have put all options in nested format but too late now. |