summaryrefslogtreecommitdiff
path: root/net/sched
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-03-23 07:12:09 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 05:27:33 (GMT)
commitbb2f8cc0ecf025d6d3947e0389434650023f432e (patch)
tree61be3ceb6857051dc33c367ab761c350fc10786a /net/sched
parentc702e8047fe74648f7852a9c1de781b0d5a98402 (diff)
downloadlinux-fsl-qoriq-bb2f8cc0ecf025d6d3947e0389434650023f432e.tar.xz
[NETEM]: spelling errors
Get rid of some of my creative spelling. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
-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 fb49e9e..3e1b633 100644
--- a/net/sched/sch_netem.c
+++ b/net/sched/sch_netem.c
@@ -102,7 +102,7 @@ static u32 get_crandom(struct crndstate *state)
u64 value, rho;
unsigned long answer;
- if (state->rho == 0) /* no correllation */
+ if (state->rho == 0) /* no correlation */
return net_random();
value = net_random();
@@ -432,8 +432,8 @@ static int netem_change(struct Qdisc *sch, struct rtattr *opt)
q->loss = qopt->loss;
q->duplicate = qopt->duplicate;
- /* for compatiablity with earlier versions.
- * if gap is set, need to assume 100% probablity
+ /* for compatibility with earlier versions.
+ * if gap is set, need to assume 100% probability
*/
if (q->gap)
q->reorder = ~0;