diff options
| author | Jiri Kosina <jkosina@suse.cz> | 2011-04-26 04:22:15 -0400 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2011-04-26 04:22:59 -0400 |
| commit | 07f9479a40cc778bc1462ada11f95b01360ae4ff (patch) | |
| tree | 0676cf38df3844004bb3ebfd99dfa67a4a8998f5 /net/sched/sch_netem.c | |
| parent | 9d5e6bdb3013acfb311ab407eeca0b6a6a3dedbf (diff) | |
| parent | cd2e49e90f1cae7726c9a2c54488d881d7f1cd1c (diff) | |
Merge branch 'master' into for-next
Fast-forwarded to current state of Linus' tree as there are patches to be
applied for files that didn't exist on the old branch.
Diffstat (limited to 'net/sched/sch_netem.c')
| -rw-r--r-- | net/sched/sch_netem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sched/sch_netem.c b/net/sched/sch_netem.c index edbbf7ad6623..69c35f6cd13f 100644 --- a/net/sched/sch_netem.c +++ b/net/sched/sch_netem.c | |||
| @@ -160,7 +160,7 @@ static bool loss_4state(struct netem_sched_data *q) | |||
| 160 | u32 rnd = net_random(); | 160 | u32 rnd = net_random(); |
| 161 | 161 | ||
| 162 | /* | 162 | /* |
| 163 | * Makes a comparision between rnd and the transition | 163 | * Makes a comparison between rnd and the transition |
| 164 | * probabilities outgoing from the current state, then decides the | 164 | * probabilities outgoing from the current state, then decides the |
| 165 | * next state and if the next packet has to be transmitted or lost. | 165 | * next state and if the next packet has to be transmitted or lost. |
| 166 | * The four states correspond to: | 166 | * The four states correspond to: |
| @@ -212,9 +212,9 @@ static bool loss_4state(struct netem_sched_data *q) | |||
| 212 | * Generates losses according to the Gilbert-Elliot loss model or | 212 | * Generates losses according to the Gilbert-Elliot loss model or |
| 213 | * its special cases (Gilbert or Simple Gilbert) | 213 | * its special cases (Gilbert or Simple Gilbert) |
| 214 | * | 214 | * |
| 215 | * Makes a comparision between random number and the transition | 215 | * Makes a comparison between random number and the transition |
| 216 | * probabilities outgoing from the current state, then decides the | 216 | * probabilities outgoing from the current state, then decides the |
| 217 | * next state. A second random number is extracted and the comparision | 217 | * next state. A second random number is extracted and the comparison |
| 218 | * with the loss probability of the current state decides if the next | 218 | * with the loss probability of the current state decides if the next |
| 219 | * packet will be transmitted or lost. | 219 | * packet will be transmitted or lost. |
| 220 | */ | 220 | */ |
