]> 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)
commitd0f62d51b86fac9bceccbd5a1db17805d0e3a1c7
tree95d334d1435e0dc712c1cb4a5f56874b3435da21
parent99d268e7f4d97a2bcf9305b6183ef0f744250957
net: sched: avoid duplicates in classes dump

This is a follow up of commit cd430176cd95 ("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: f7729dc48077 ("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