[PATCH next-next 0/2] qdisc-hashtable fixes

From: Jiri Kosina
Date: Tue Aug 16 2016 - 17:52:15 EST


The following two patches fix all the issues that have been reported
against the conversion of qdisc linked list to hashtable (currently in
net-next) so far.

First patch adjusts handling of singleton qdiscs to the new semantics, and
is rather straightforward.

The second patch, which fixes "cosmetic" issue of duplicate entries in the
qdisc dump for ingress qdiscs, is a little bit more hairy; I personally
would love to see all the already existing "if (ingress)"-like hacks go
away (by, let's say, introducing a general TCQ_F_? flag), but that's way
out of scope of this patchset (but already on my todo).

Thanks a lot to Daniel Borkmann and David Ahern for reporting the issues
and testing the patches promptly.

Jiri Kosina (2):
net: sched: fix handling of singleton qdiscs with qdisc_hash
net: sched: avoid duplicates in qdisc dump

net/sched/sch_api.c | 22 +++++++++++++++++++---
1 file changed, 19 insertions(+), 3 deletions(-)

--
Jiri Kosina
SUSE Labs