664-codel_fix_3_12.patch 655 B

12345678910111213141516171819202122
  1. --- a/net/sched/sch_api.c
  2. +++ b/net/sched/sch_api.c
  3. @@ -1962,7 +1962,7 @@ static int __init pktsched_init(void)
  4. return err;
  5. }
  6. - register_qdisc(&pfifo_fast_ops);
  7. + register_qdisc(&fq_codel_qdisc_ops);
  8. register_qdisc(&pfifo_qdisc_ops);
  9. register_qdisc(&bfifo_qdisc_ops);
  10. register_qdisc(&pfifo_head_drop_qdisc_ops);
  11. --- a/net/sched/sch_generic.c
  12. +++ b/net/sched/sch_generic.c
  13. @@ -31,7 +31,7 @@
  14. #include <net/dst.h>
  15. /* Qdisc to use by default */
  16. -const struct Qdisc_ops *default_qdisc_ops = &pfifo_fast_ops;
  17. +const struct Qdisc_ops *default_qdisc_ops = &fq_codel_qdisc_ops;
  18. EXPORT_SYMBOL(default_qdisc_ops);
  19. /* Main transmission queue. */