diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2007-02-09 09:25:16 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-02-11 02:20:08 -0500 |
commit | 10297b99315e5e08fe623ba56da35db1fee69ba9 (patch) | |
tree | 06cfd5434ad5d4cb9dd8e0715716da0abd52849c /net/sched/cls_tcindex.c | |
parent | 7612713fb69a17b79ca7d757df4446700f4afe6c (diff) |
[NET] SCHED: Fix whitespace errors.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_tcindex.c')
-rw-r--r-- | net/sched/cls_tcindex.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/sched/cls_tcindex.c b/net/sched/cls_tcindex.c index 5af8a59e1503..040e2d2d281a 100644 --- a/net/sched/cls_tcindex.c +++ b/net/sched/cls_tcindex.c | |||
@@ -222,7 +222,7 @@ tcindex_set_parms(struct tcf_proto *tp, unsigned long base, u32 handle, | |||
222 | err = tcf_exts_validate(tp, tb, est, &e, &tcindex_ext_map); | 222 | err = tcf_exts_validate(tp, tb, est, &e, &tcindex_ext_map); |
223 | if (err < 0) | 223 | if (err < 0) |
224 | return err; | 224 | return err; |
225 | 225 | ||
226 | memcpy(&cp, p, sizeof(cp)); | 226 | memcpy(&cp, p, sizeof(cp)); |
227 | memset(&new_filter_result, 0, sizeof(new_filter_result)); | 227 | memset(&new_filter_result, 0, sizeof(new_filter_result)); |
228 | 228 | ||
@@ -316,12 +316,12 @@ tcindex_set_parms(struct tcf_proto *tp, unsigned long base, u32 handle, | |||
316 | f = kzalloc(sizeof(*f), GFP_KERNEL); | 316 | f = kzalloc(sizeof(*f), GFP_KERNEL); |
317 | if (!f) | 317 | if (!f) |
318 | goto errout_alloc; | 318 | goto errout_alloc; |
319 | } | 319 | } |
320 | 320 | ||
321 | if (tb[TCA_TCINDEX_CLASSID-1]) { | 321 | if (tb[TCA_TCINDEX_CLASSID-1]) { |
322 | cr.res.classid = *(u32 *) RTA_DATA(tb[TCA_TCINDEX_CLASSID-1]); | 322 | cr.res.classid = *(u32 *) RTA_DATA(tb[TCA_TCINDEX_CLASSID-1]); |
323 | tcf_bind_filter(tp, &cr.res, base); | 323 | tcf_bind_filter(tp, &cr.res, base); |
324 | } | 324 | } |
325 | 325 | ||
326 | tcf_exts_change(tp, &cr.exts, &e); | 326 | tcf_exts_change(tp, &cr.exts, &e); |
327 | 327 | ||
@@ -341,7 +341,7 @@ tcindex_set_parms(struct tcf_proto *tp, unsigned long base, u32 handle, | |||
341 | for (fp = p->h+(handle % p->hash); *fp; fp = &(*fp)->next) | 341 | for (fp = p->h+(handle % p->hash); *fp; fp = &(*fp)->next) |
342 | /* nothing */; | 342 | /* nothing */; |
343 | *fp = f; | 343 | *fp = f; |
344 | } | 344 | } |
345 | tcf_tree_unlock(tp); | 345 | tcf_tree_unlock(tp); |
346 | 346 | ||
347 | return 0; | 347 | return 0; |
@@ -491,7 +491,7 @@ static int tcindex_dump(struct tcf_proto *tp, unsigned long fh, | |||
491 | if (tcf_exts_dump_stats(skb, &r->exts, &tcindex_ext_map) < 0) | 491 | if (tcf_exts_dump_stats(skb, &r->exts, &tcindex_ext_map) < 0) |
492 | goto rtattr_failure; | 492 | goto rtattr_failure; |
493 | } | 493 | } |
494 | 494 | ||
495 | return skb->len; | 495 | return skb->len; |
496 | 496 | ||
497 | rtattr_failure: | 497 | rtattr_failure: |
@@ -519,7 +519,7 @@ static int __init init_tcindex(void) | |||
519 | return register_tcf_proto_ops(&cls_tcindex_ops); | 519 | return register_tcf_proto_ops(&cls_tcindex_ops); |
520 | } | 520 | } |
521 | 521 | ||
522 | static void __exit exit_tcindex(void) | 522 | static void __exit exit_tcindex(void) |
523 | { | 523 | { |
524 | unregister_tcf_proto_ops(&cls_tcindex_ops); | 524 | unregister_tcf_proto_ops(&cls_tcindex_ops); |
525 | } | 525 | } |