What I meant is:
# ip l l dummy0
109: dummy0: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state
UNKNOWN
link/ether 0a:94:90:3c:e3:45 brd ff:ff:ff:ff:ff:ff
# tc qdisc add dev dummy0 root pfifo limit 1000
# ip l l dummy0
109: dummy0: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo state
UNKNOWN
link/ether 0a:94:90:3c:e3:45 brd ff:ff:ff:ff:ff:ff
# tc qdisc del dev dummy0 root
# ip l l dummy0
109: dummy0: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state
UNKNOWN
link/ether 0a:94:90:3c:e3:45 brd ff:ff:ff:ff:ff:ff
It should work your way as well if you set the transmit queue length
to zero before removing the root qdisc.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html