Messages in this thread | | | From | Vinicius Costa Gomes <> | Subject | Re: [PATCH] net: sched: sch_taprio: fix memleak in error path for sched list parse | Date | Tue, 06 Aug 2019 09:21:56 -0700 |
| |
Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> 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@linaro.org> > ---
Acked-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
| |