Bug #4692 ยป codel_opts_value_fix.patch
| patches/stable/10/altq_codel.diff | ||
|---|---|---|
| 1183 | 1183 |
#endif /* ALTQ_RED */ |
| 1184 | 1184 |
+#ifdef ALTQ_CODEL |
| 1185 | 1185 |
+ if (flags & FARF_CODEL) {
|
| 1186 |
+ cl->cl_codel = codel_alloc(100, 5, 0);
|
|
| 1186 |
+ cl->cl_codel = codel_alloc(5, 100, 0);
|
|
| 1187 | 1187 |
+ cl->cl_qtype = Q_CODEL; |
| 1188 | 1188 |
+ } |
| 1189 | 1189 |
+#endif |
| ... | ... | |
| 1327 | 1327 |
#endif /* ALTQ_RED */ |
| 1328 | 1328 |
+#ifdef ALTQ_CODEL |
| 1329 | 1329 |
+ if (flags & HFCF_CODEL) {
|
| 1330 |
+ cl->cl_codel = codel_alloc(100, 5, 0);
|
|
| 1330 |
+ cl->cl_codel = codel_alloc(5, 100, 0);
|
|
| 1331 | 1331 |
+ qtype(cl->cl_q) = Q_CODEL; |
| 1332 | 1332 |
+ } |
| 1333 | 1333 |
+#endif |
| ... | ... | |
| 1482 | 1482 |
#endif /* ALTQ_RED */ |
| 1483 | 1483 |
+#ifdef ALTQ_CODEL |
| 1484 | 1484 |
+ if (flags & PRCF_CODEL) {
|
| 1485 |
+ cl->cl_codel = codel_alloc(100, 5, 0);
|
|
| 1485 |
+ cl->cl_codel = codel_alloc(5, 100, 0);
|
|
| 1486 | 1486 |
+ qtype(cl->cl_q) = Q_CODEL; |
| 1487 | 1487 |
+ } |
| 1488 | 1488 |
+#endif |
| ... | ... | |
| 1627 | 1627 |
#endif /* ALTQ_RED */ |
| 1628 | 1628 |
+#ifdef ALTQ_CODEL |
| 1629 | 1629 |
+ if (flags & RMCF_CODEL) {
|
| 1630 |
+ cl->codel_ = codel_alloc(100, 5, 0);
|
|
| 1630 |
+ cl->codel_ = codel_alloc(5, 100, 0);
|
|
| 1631 | 1631 |
+ qtype(cl->q_) = Q_CODEL; |
| 1632 | 1632 |
+ } |
| 1633 | 1633 |
+#endif |