aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/sched/sch_netem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sched/sch_netem.c b/net/sched/sch_netem.c
index fb49e9e7ace0..3e1b633e8b0d 100644
--- a/net/sched/sch_netem.c
+++ b/net/sched/sch_netem.c
@@ -102,7 +102,7 @@ static u32 get_crandom(struct crndstate *state)
102 u64 value, rho; 102 u64 value, rho;
103 unsigned long answer; 103 unsigned long answer;
104 104
105 if (state->rho == 0) /* no correllation */ 105 if (state->rho == 0) /* no correlation */
106 return net_random(); 106 return net_random();
107 107
108 value = net_random(); 108 value = net_random();
@@ -432,8 +432,8 @@ static int netem_change(struct Qdisc *sch, struct rtattr *opt)
432 q->loss = qopt->loss; 432 q->loss = qopt->loss;
433 q->duplicate = qopt->duplicate; 433 q->duplicate = qopt->duplicate;
434 434
435 /* for compatiablity with earlier versions. 435 /* for compatibility with earlier versions.
436 * if gap is set, need to assume 100% probablity 436 * if gap is set, need to assume 100% probability
437 */ 437 */
438 if (q->gap) 438 if (q->gap)
439 q->reorder = ~0; 439 q->reorder = ~0;