diff options
author | Eric Dumazet <edumazet@google.com> | 2016-06-11 01:41:37 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-11 08:58:20 +0200 |
commit | cca605dd4b3b2bfa381250b7dbbe16b124916f24 (patch) | |
tree | a1dde5e043514772fcb539d1b76d7d2567d952de /net/sched/sch_netem.c | |
parent | net_sched: sch_plug: use a private throttled status (diff) | |
download | linux-cca605dd4b3b2bfa381250b7dbbe16b124916f24.tar.xz linux-cca605dd4b3b2bfa381250b7dbbe16b124916f24.zip |
net_sched: cbq: remove a flaky use of qdisc_is_throttled()
So far no qdisc ever unset the throttled bit at enqueue() time,
so CBQ usage of qdisc_is_throttled() was flaky.
Since __QDISC_STATE_THROTTLED set/unset is way too expensive
considering that only CBQ was eventually caring for this status,
it would make sense to implement a Qdisc ops ->is_throttled()
if we find that this is needed.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_netem.c')
0 files changed, 0 insertions, 0 deletions