net sched: stylistic cleanups
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
f71b109f17
commit
5a7a5555a3
@@ -57,7 +57,7 @@ static u32 fw_hash(u32 handle)
|
||||
}
|
||||
|
||||
static int fw_classify(struct sk_buff *skb, const struct tcf_proto *tp,
|
||||
struct tcf_result *res)
|
||||
struct tcf_result *res)
|
||||
{
|
||||
struct fw_head *head = rcu_dereference_bh(tp->root);
|
||||
struct fw_filter *f;
|
||||
@@ -188,7 +188,8 @@ static const struct nla_policy fw_policy[TCA_FW_MAX + 1] = {
|
||||
|
||||
static int
|
||||
fw_change_attrs(struct net *net, struct tcf_proto *tp, struct fw_filter *f,
|
||||
struct nlattr **tb, struct nlattr **tca, unsigned long base, bool ovr)
|
||||
struct nlattr **tb, struct nlattr **tca, unsigned long base,
|
||||
bool ovr)
|
||||
{
|
||||
struct fw_head *head = rtnl_dereference(tp->root);
|
||||
struct tcf_exts e;
|
||||
@@ -237,9 +238,8 @@ errout:
|
||||
|
||||
static int fw_change(struct net *net, struct sk_buff *in_skb,
|
||||
struct tcf_proto *tp, unsigned long base,
|
||||
u32 handle,
|
||||
struct nlattr **tca,
|
||||
unsigned long *arg, bool ovr)
|
||||
u32 handle, struct nlattr **tca, unsigned long *arg,
|
||||
bool ovr)
|
||||
{
|
||||
struct fw_head *head = rtnl_dereference(tp->root);
|
||||
struct fw_filter *f = (struct fw_filter *) *arg;
|
||||
|
Reference in New Issue
Block a user