diff options
author | Eric Dumazet <edumazet@google.com> | 2015-12-15 20:43:12 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-15 21:41:52 +0300 |
commit | 225734de70cd0a9e0b978f3583a4a87939271d5e (patch) | |
tree | 6b40737db8493f7887bd6fdc439e91150d040fdf /ipc | |
parent | 58ab367b85f45a9714af2f8bf122463285f80f5b (diff) | |
download | linux-225734de70cd0a9e0b978f3583a4a87939271d5e.tar.xz |
net_sched: make qdisc_tree_decrease_qlen() work for non mq
Stas Nichiporovich reported a regression in his HFSC qdisc setup
on a non multi queue device.
It turns out I mistakenly added a TCQ_F_NOPARENT flag on all qdisc
allocated in qdisc_create() for non multi queue devices, which was
rather buggy. I was clearly mislead by the TCQ_F_ONETXQUEUE that is
also set here for no good reason, since it only matters for the root
qdisc.
Fixes: 4eaf3b84f288 ("net_sched: fix qdisc_tree_decrease_qlen() races")
Reported-by: Stas Nichiporovich <stasn77@gmail.com>
Tested-by: Stas Nichiporovich <stasn77@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions