On Fri, Jan 29, 2021 at 4:02 AM Alexander Ovechkin <[email protected]> wrote:
>
> Commit e5f0e8f8e456 ("net: sched: introduce and use qdisc tree flush/purge 
> helpers")
> introduced qdisc tree flush/purge helpers, but erroneously used flush helper
> instead of purge helper in qdisc_replace function.
> This issue was found in our CI, that tests various qdisc setups by configuring
> qdisc and sending data through it. Call of invalid helper sporadically leads
> to corruption of vt_tree/cf_tree of hfsc_class that causes kernel oops:
...
> Fixes: e5f0e8f8e456 ("net: sched: introduce and use qdisc tree flush/purge 
> helpers")
> Signed-off-by: Alexander Ovechkin <[email protected]>

Looks reasonable to me:

Acked-by: Cong Wang <[email protected]>

Thanks.

Reply via email to