On Wed, Sep 1, 2021 at 1:54 PM Davide Caratti [off-list ref] wrote:
uh, maybe I get the point.
we can do a INIT_LIST_HEAD(&cl[i].alist) in ets_qdisc_init() with 'i' ranging
from 0 to TCQ_ETS_MAX_BANDS - 1, then the memset() in [1] needs to be
replaced with something that clears all members of struct ets_class except
'alist'. At this point, the INIT_LIST_HEAD() line in ets_qdisc_change() can be
removed.
I can re-run the kseltest and eventually send a patch for that (targeting
net-next, no need to rush), is that ok for you?
Sure, whatever works for you.
Thanks.