Re: [PATCH] net: sched: sch_taprio: fix memleak in error path for sched list parse
From: Vinicius Costa Gomes
Date: Tue Aug 06 2019 - 12:21:59 EST
Ivan Khoronzhuk <ivan.khoronzhuk@xxxxxxxxxx> writes:
> In case off error, all entries should be freed from the sched list
> before deleting it. For simplicity use rcu way.
>
> Fixes: 5a781ccbd19e46 ("tc: Add support for configuring the taprio scheduler")
> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@xxxxxxxxxx>
> ---
Acked-by: Vinicius Costa Gomes <vinicius.gomes@xxxxxxxxx>