]> git.baikalelectronics.ru Git - kernel.git/commit
net: sched: avoid duplicates in classes dump
authorMaximilian Heyne <mheyne@amazon.de>
Thu, 4 Mar 2021 14:43:17 +0000 (14:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Mar 2021 22:27:47 +0000 (14:27 -0800)
commitaa20530d52e42f9f936529efd962972f8813af94
tree95d334d1435e0dc712c1cb4a5f56874b3435da21
parentf8bb73bef7b8287edec39d92ce41e07c5b401bef
net: sched: avoid duplicates in classes dump

This is a follow up of commit 8cc407022c6b ("net: sched: avoid
duplicates in qdisc dump") which has fixed the issue only for the qdisc
dump.

The duplicate printing also occurs when dumping the classes via
  tc class show dev eth0

Fixes: ef01a4f4ae16 ("net: sched: convert qdisc linked list to hashtable")
Signed-off-by: Maximilian Heyne <mheyne@amazon.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_api.c