diff options
author | Paolo Abeni <pabeni@redhat.com> | 2019-04-10 15:32:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-10 22:20:46 +0300 |
commit | b0a231a26d56265521abbb6db1748accd6bb036a (patch) | |
tree | eebf7ab0e43d4ac498ad5039315bfb8e750cc13d /include | |
parent | 4c75be07f9385364be3a5033ff3a20faf3f3bce0 (diff) | |
download | linux-b0a231a26d56265521abbb6db1748accd6bb036a.tar.xz |
net: caif: avoid using qdisc_qlen()
Such helper does not cope correctly with NOLOCK qdiscs.
In the following patches we will move back qlen to per CPU
values for such qdiscs, so qdisc_qlen_sum() is not an option,
too.
Instead, use qlen only for lock qdiscs, and always set
flow off for NOLOCK qdiscs with a not empty tx queue.
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions