[NET] SCHED: Fix whitespace errors.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
7612713fb6
commit
10297b9931
@@ -37,12 +37,12 @@
|
||||
* --------<-POP---------
|
||||
*
|
||||
* where B is a virtual ematch referencing to sequence starting with B1.
|
||||
*
|
||||
*
|
||||
* ==========================================================================
|
||||
*
|
||||
* How to write an ematch in 60 seconds
|
||||
* ------------------------------------
|
||||
*
|
||||
*
|
||||
* 1) Provide a matcher function:
|
||||
* static int my_match(struct sk_buff *skb, struct tcf_ematch *m,
|
||||
* struct tcf_pkt_info *info)
|
||||
@@ -115,7 +115,7 @@ static inline struct tcf_ematch_ops * tcf_em_lookup(u16 kind)
|
||||
|
||||
/**
|
||||
* tcf_em_register - register an extended match
|
||||
*
|
||||
*
|
||||
* @ops: ematch operations lookup table
|
||||
*
|
||||
* This function must be called by ematches to announce their presence.
|
||||
@@ -211,7 +211,7 @@ static int tcf_em_validate(struct tcf_proto *tp,
|
||||
if (ref <= idx)
|
||||
goto errout;
|
||||
|
||||
|
||||
|
||||
em->data = ref;
|
||||
} else {
|
||||
/* Note: This lookup will increase the module refcnt
|
||||
@@ -327,7 +327,7 @@ int tcf_em_tree_validate(struct tcf_proto *tp, struct rtattr *rta,
|
||||
/* We do not use rtattr_parse_nested here because the maximum
|
||||
* number of attributes is unknown. This saves us the allocation
|
||||
* for a tb buffer which would serve no purpose at all.
|
||||
*
|
||||
*
|
||||
* The array of rt attributes is parsed in the order as they are
|
||||
* provided, their type must be incremental from 1 to n. Even
|
||||
* if it does not serve any real purpose, a failure of sticking
|
||||
@@ -399,7 +399,7 @@ void tcf_em_tree_destroy(struct tcf_proto *tp, struct tcf_ematch_tree *tree)
|
||||
module_put(em->ops->owner);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
tree->hdr.nmatches = 0;
|
||||
kfree(tree->matches);
|
||||
}
|
||||
|
Reference in New Issue
Block a user