lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
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