diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c index e1a3c8c46..2ea411dcd 100644 --- a/lib/netdev-linux.c +++ b/lib/netdev-linux.c @@ -2659,7 +2659,7 @@ htb_class_dump_stats(const struct netdev *netdev OVS_UNUSED, major = tc_get_major(handle); minor = tc_get_minor(handle); if (major == 1 && minor > 0 && minor <= HTB_N_QUEUES) { - (*cb)(tc_get_minor(handle), &stats, aux); + (*cb)(minor - 1, &stats, aux); } return 0; }