mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44:32 +04:00
[SQM] Fix simple.qos to allow using cake as ingress shaper
simple.qos had accidentally set up the egress shaper twice, once with the true egress parameters and a second time using the ingress parameters, effectively misconfiguring both directions. This bub only affected situations where 3-tier ingress classification was used. Signed-off-by: Sebastian Moeller <moeller0@gmx.de>
This commit is contained in:
committed by
Toke Høiland-Jørgensen
parent
034e4d2475
commit
517954b7f5
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=sqm-scripts
|
PKG_NAME:=sqm-scripts
|
||||||
PKG_VERSION:=8
|
PKG_VERSION:=8
|
||||||
PKG_RELEASE:=6
|
PKG_RELEASE:=7
|
||||||
PKG_LICENSE:=GPLv2
|
PKG_LICENSE:=GPLv2
|
||||||
|
|
||||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
||||||
|
|||||||
@@ -177,7 +177,7 @@ else
|
|||||||
sqm_logger "Perform DSCP based filtering on ingress. (3-tier classification)"
|
sqm_logger "Perform DSCP based filtering on ingress. (3-tier classification)"
|
||||||
case $QDISC in
|
case $QDISC in
|
||||||
cake*)
|
cake*)
|
||||||
$TC qdisc add dev $IFACE root `get_stab_string` $QDISC bandwidth ${DOWNLINK}kbit `get_cake_lla_string` $CAKE_OPTS ${IQDISC_OPTS}
|
$TC qdisc add dev $DEV root `get_stab_string` $QDISC bandwidth ${DOWNLINK}kbit `get_cake_lla_string` $CAKE_OPTS ${IQDISC_OPTS}
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
$TC qdisc add dev $DEV root handle 1: `get_stab_string` htb default 12
|
$TC qdisc add dev $DEV root handle 1: `get_stab_string` htb default 12
|
||||||
|
|||||||
Reference in New Issue
Block a user