[<prev] [next>] [day] [month] [year] [list]
Message-ID: <520880b2d790fd80e0f476bec52adfab@visp.net.lb>
Date: Mon, 22 Apr 2013 02:03:50 +0300
From: Denys Fedoryshchenko <denys@...p.net.lb>
To: <netdev@...r.kernel.org>, Stephen Hemminger <shemminger@...tta.com>
Subject: tc class replace doesn't change parent?
Hi
Just got probably bug, or maybe undocumented feature, that is easy to
reproduce:
core7 ~ # tc qdisc replace dev eth0 root handle 1: htb
core7 ~ # tc class add dev eth0 classid 1:1 parent 1: htb rate 1Mbit
ceil 1Mbit
core7 ~ # tc class show dev eth0
class htb 1:1 root prio 0 rate 1000Kbit ceil 1000Kbit burst 1600b
cburst 1600b
core7 ~ # tc class replace dev eth0 classid 1:1 parent 1:2 htb rate
1Mbit ceil 1Mbit
core7 ~ # tc class show dev eth0
class htb 1:1 root prio 0 rate 1000Kbit ceil 1000Kbit burst 1600b
cburst 1600b
Note: parent didn't changed, while it should be changed, i think, since
operation is not change, it is replace.
---
Denys Fedoryshchenko, Network Engineer, Virtual ISP S.A.L.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists