diff options
Diffstat (limited to 'net/sched/sch_prio.c')
-rw-r--r-- | net/sched/sch_prio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sched/sch_prio.c b/net/sched/sch_prio.c index de894096e442..2243aaa8d851 100644 --- a/net/sched/sch_prio.c +++ b/net/sched/sch_prio.c | |||
@@ -468,7 +468,7 @@ static struct tcf_proto ** prio_find_tcf(struct Qdisc *sch, unsigned long cl) | |||
468 | return &q->filter_list; | 468 | return &q->filter_list; |
469 | } | 469 | } |
470 | 470 | ||
471 | static struct Qdisc_class_ops prio_class_ops = { | 471 | static const struct Qdisc_class_ops prio_class_ops = { |
472 | .graft = prio_graft, | 472 | .graft = prio_graft, |
473 | .leaf = prio_leaf, | 473 | .leaf = prio_leaf, |
474 | .get = prio_get, | 474 | .get = prio_get, |
@@ -483,7 +483,7 @@ static struct Qdisc_class_ops prio_class_ops = { | |||
483 | .dump_stats = prio_dump_class_stats, | 483 | .dump_stats = prio_dump_class_stats, |
484 | }; | 484 | }; |
485 | 485 | ||
486 | static struct Qdisc_ops prio_qdisc_ops = { | 486 | static struct Qdisc_ops prio_qdisc_ops __read_mostly = { |
487 | .next = NULL, | 487 | .next = NULL, |
488 | .cl_ops = &prio_class_ops, | 488 | .cl_ops = &prio_class_ops, |
489 | .id = "prio", | 489 | .id = "prio", |
@@ -500,7 +500,7 @@ static struct Qdisc_ops prio_qdisc_ops = { | |||
500 | .owner = THIS_MODULE, | 500 | .owner = THIS_MODULE, |
501 | }; | 501 | }; |
502 | 502 | ||
503 | static struct Qdisc_ops rr_qdisc_ops = { | 503 | static struct Qdisc_ops rr_qdisc_ops __read_mostly = { |
504 | .next = NULL, | 504 | .next = NULL, |
505 | .cl_ops = &prio_class_ops, | 505 | .cl_ops = &prio_class_ops, |
506 | .id = "rr", | 506 | .id = "rr", |