Fix common misspellings
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
This commit is contained in:
@@ -999,7 +999,7 @@ static int tc_ctl_action(struct sk_buff *skb, struct nlmsghdr *n, void *arg)
|
||||
switch (n->nlmsg_type) {
|
||||
case RTM_NEWACTION:
|
||||
/* we are going to assume all other flags
|
||||
* imply create only if it doesnt exist
|
||||
* imply create only if it doesn't exist
|
||||
* Note that CREATE | EXCL implies that
|
||||
* but since we want avoid ambiguity (eg when flags
|
||||
* is zero) then just set this
|
||||
|
@@ -161,7 +161,7 @@ static int tcf_pedit(struct sk_buff *skb, struct tc_action *a,
|
||||
}
|
||||
if (offset > 0 && offset > skb->len) {
|
||||
pr_info("tc filter pedit"
|
||||
" offset %d cant exceed pkt length %d\n",
|
||||
" offset %d can't exceed pkt length %d\n",
|
||||
offset, skb->len);
|
||||
goto bad;
|
||||
}
|
||||
|
@@ -47,7 +47,7 @@
|
||||
* on the meta type. Obviously, the length of the data must also
|
||||
* be provided for non-numeric types.
|
||||
*
|
||||
* Additionaly, type dependant modifiers such as shift operators
|
||||
* Additionally, type dependent modifiers such as shift operators
|
||||
* or mask may be applied to extend the functionaliy. As of now,
|
||||
* the variable length type supports shifting the byte string to
|
||||
* the right, eating up any number of octets and thus supporting
|
||||
|
@@ -183,7 +183,7 @@ static inline struct htb_class *htb_find(u32 handle, struct Qdisc *sch)
|
||||
* filters in qdisc and in inner nodes (if higher filter points to the inner
|
||||
* node). If we end up with classid MAJOR:0 we enqueue the skb into special
|
||||
* internal fifo (direct). These packets then go directly thru. If we still
|
||||
* have no valid leaf we try to use MAJOR:default leaf. It still unsuccessfull
|
||||
* have no valid leaf we try to use MAJOR:default leaf. It still unsuccessful
|
||||
* then finish and return direct queue.
|
||||
*/
|
||||
#define HTB_DIRECT ((struct htb_class *)-1L)
|
||||
|
@@ -160,7 +160,7 @@ static bool loss_4state(struct netem_sched_data *q)
|
||||
u32 rnd = net_random();
|
||||
|
||||
/*
|
||||
* Makes a comparision between rnd and the transition
|
||||
* Makes a comparison between rnd and the transition
|
||||
* probabilities outgoing from the current state, then decides the
|
||||
* next state and if the next packet has to be transmitted or lost.
|
||||
* The four states correspond to:
|
||||
@@ -212,9 +212,9 @@ static bool loss_4state(struct netem_sched_data *q)
|
||||
* Generates losses according to the Gilbert-Elliot loss model or
|
||||
* its special cases (Gilbert or Simple Gilbert)
|
||||
*
|
||||
* Makes a comparision between random number and the transition
|
||||
* Makes a comparison between random number and the transition
|
||||
* probabilities outgoing from the current state, then decides the
|
||||
* next state. A second random number is extracted and the comparision
|
||||
* next state. A second random number is extracted and the comparison
|
||||
* with the loss probability of the current state decides if the next
|
||||
* packet will be transmitted or lost.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user