diff options
Diffstat (limited to 'net/sched/sch_netem.c')
-rw-r--r-- | net/sched/sch_netem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sched/sch_netem.c b/net/sched/sch_netem.c index 9e5e87e81f00..6c344ade33c2 100644 --- a/net/sched/sch_netem.c +++ b/net/sched/sch_netem.c | |||
@@ -544,7 +544,7 @@ rtattr_failure: | |||
544 | return -1; | 544 | return -1; |
545 | } | 545 | } |
546 | 546 | ||
547 | static struct Qdisc_ops tfifo_qdisc_ops = { | 547 | static struct Qdisc_ops tfifo_qdisc_ops __read_mostly = { |
548 | .id = "tfifo", | 548 | .id = "tfifo", |
549 | .priv_size = sizeof(struct fifo_sched_data), | 549 | .priv_size = sizeof(struct fifo_sched_data), |
550 | .enqueue = tfifo_enqueue, | 550 | .enqueue = tfifo_enqueue, |
@@ -705,7 +705,7 @@ static struct tcf_proto **netem_find_tcf(struct Qdisc *sch, unsigned long cl) | |||
705 | return NULL; | 705 | return NULL; |
706 | } | 706 | } |
707 | 707 | ||
708 | static struct Qdisc_class_ops netem_class_ops = { | 708 | static const struct Qdisc_class_ops netem_class_ops = { |
709 | .graft = netem_graft, | 709 | .graft = netem_graft, |
710 | .leaf = netem_leaf, | 710 | .leaf = netem_leaf, |
711 | .get = netem_get, | 711 | .get = netem_get, |
@@ -717,7 +717,7 @@ static struct Qdisc_class_ops netem_class_ops = { | |||
717 | .dump = netem_dump_class, | 717 | .dump = netem_dump_class, |
718 | }; | 718 | }; |
719 | 719 | ||
720 | static struct Qdisc_ops netem_qdisc_ops = { | 720 | static struct Qdisc_ops netem_qdisc_ops __read_mostly = { |
721 | .id = "netem", | 721 | .id = "netem", |
722 | .cl_ops = &netem_class_ops, | 722 | .cl_ops = &netem_class_ops, |
723 | .priv_size = sizeof(struct netem_sched_data), | 723 | .priv_size = sizeof(struct netem_sched_data), |