Thread (7 messages) 7 messages, 3 authors, 2021-09-03

Re: [PATH net] net/sched: ets: fix crash when flipping from 'strict' to 'quantum'

flat view

From: Cong Wang <hidden>
Date: 2021-09-03 23:51:00

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help