[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
@ -286,7 +286,7 @@ replay:
|
||||
goto errout;
|
||||
} else {
|
||||
switch (n->nlmsg_type) {
|
||||
case RTM_NEWTFILTER:
|
||||
case RTM_NEWTFILTER:
|
||||
err = -EEXIST;
|
||||
if (n->nlmsg_flags&NLM_F_EXCL)
|
||||
goto errout;
|
||||
@ -481,11 +481,11 @@ tcf_exts_destroy(struct tcf_proto *tp, struct tcf_exts *exts)
|
||||
|
||||
int
|
||||
tcf_exts_validate(struct tcf_proto *tp, struct rtattr **tb,
|
||||
struct rtattr *rate_tlv, struct tcf_exts *exts,
|
||||
struct tcf_ext_map *map)
|
||||
struct rtattr *rate_tlv, struct tcf_exts *exts,
|
||||
struct tcf_ext_map *map)
|
||||
{
|
||||
memset(exts, 0, sizeof(*exts));
|
||||
|
||||
|
||||
#ifdef CONFIG_NET_CLS_ACT
|
||||
{
|
||||
int err;
|
||||
@ -511,7 +511,7 @@ tcf_exts_validate(struct tcf_proto *tp, struct rtattr **tb,
|
||||
#elif defined CONFIG_NET_CLS_POLICE
|
||||
if (map->police && tb[map->police-1]) {
|
||||
struct tcf_police *p;
|
||||
|
||||
|
||||
p = tcf_police_locate(tb[map->police-1], rate_tlv);
|
||||
if (p == NULL)
|
||||
return -EINVAL;
|
||||
@ -530,7 +530,7 @@ tcf_exts_validate(struct tcf_proto *tp, struct rtattr **tb,
|
||||
|
||||
void
|
||||
tcf_exts_change(struct tcf_proto *tp, struct tcf_exts *dst,
|
||||
struct tcf_exts *src)
|
||||
struct tcf_exts *src)
|
||||
{
|
||||
#ifdef CONFIG_NET_CLS_ACT
|
||||
if (src->action) {
|
||||
@ -597,7 +597,7 @@ rtattr_failure: __attribute__ ((unused))
|
||||
|
||||
int
|
||||
tcf_exts_dump_stats(struct sk_buff *skb, struct tcf_exts *exts,
|
||||
struct tcf_ext_map *map)
|
||||
struct tcf_ext_map *map)
|
||||
{
|
||||
#ifdef CONFIG_NET_CLS_ACT
|
||||
if (exts->action)
|
||||
|
Reference in New Issue
Block a user