netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH next-next 0/2] qdisc-hashtable fixes
@ 2016-08-16 21:52 Jiri Kosina
  2016-08-16 21:52 ` [PATCH 1/2] net: sched: fix handling of singleton qdiscs with qdisc_hash Jiri Kosina
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jiri Kosina @ 2016-08-16 21:52 UTC (permalink / raw)
  To: David Miller, Daniel Borkmann, David Ahern
  Cc: Simon Horman, Cong Wang, Eric Dumazet, Jamal Hadi Salim,
	Phil Sutter, linux-kernel, netdev

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-08-19 21:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-16 21:52 [PATCH next-next 0/2] qdisc-hashtable fixes Jiri Kosina
2016-08-16 21:52 ` [PATCH 1/2] net: sched: fix handling of singleton qdiscs with qdisc_hash Jiri Kosina
2016-08-16 21:53 ` [PATCH 2/2] net: sched: avoid duplicates in qdisc dump Jiri Kosina
2016-08-19  1:39   ` Cong Wang
2016-08-19 21:48     ` Jiri Kosina
2016-08-19  4:19 ` [PATCH next-next 0/2] qdisc-hashtable fixes David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).