Bug #4692 ยป codel_opts_value_fix.patch
| patches/stable/10/altq_codel.diff | ||
|---|---|---|
|
#endif /* ALTQ_RED */
|
||
|
+#ifdef ALTQ_CODEL
|
||
|
+ if (flags & FARF_CODEL) {
|
||
|
+ cl->cl_codel = codel_alloc(100, 5, 0);
|
||
|
+ cl->cl_codel = codel_alloc(5, 100, 0);
|
||
|
+ cl->cl_qtype = Q_CODEL;
|
||
|
+ }
|
||
|
+#endif
|
||
| ... | ... | |
|
#endif /* ALTQ_RED */
|
||
|
+#ifdef ALTQ_CODEL
|
||
|
+ if (flags & HFCF_CODEL) {
|
||
|
+ cl->cl_codel = codel_alloc(100, 5, 0);
|
||
|
+ cl->cl_codel = codel_alloc(5, 100, 0);
|
||
|
+ qtype(cl->cl_q) = Q_CODEL;
|
||
|
+ }
|
||
|
+#endif
|
||
| ... | ... | |
|
#endif /* ALTQ_RED */
|
||
|
+#ifdef ALTQ_CODEL
|
||
|
+ if (flags & PRCF_CODEL) {
|
||
|
+ cl->cl_codel = codel_alloc(100, 5, 0);
|
||
|
+ cl->cl_codel = codel_alloc(5, 100, 0);
|
||
|
+ qtype(cl->cl_q) = Q_CODEL;
|
||
|
+ }
|
||
|
+#endif
|
||
| ... | ... | |
|
#endif /* ALTQ_RED */
|
||
|
+#ifdef ALTQ_CODEL
|
||
|
+ if (flags & RMCF_CODEL) {
|
||
|
+ cl->codel_ = codel_alloc(100, 5, 0);
|
||
|
+ cl->codel_ = codel_alloc(5, 100, 0);
|
||
|
+ qtype(cl->q_) = Q_CODEL;
|
||
|
+ }
|
||
|
+#endif
|
||