[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <871rxyqn6j.fsf@intel.com>
Date: Tue, 06 Aug 2019 09:21:56 -0700
From: Vinicius Costa Gomes <vinicius.gomes@...el.com>
To: Ivan Khoronzhuk <ivan.khoronzhuk@...aro.org>, davem@...emloft.net
Cc: jhs@...atatu.com, xiyou.wangcong@...il.com, jiri@...nulli.us,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Ivan Khoronzhuk <ivan.khoronzhuk@...aro.org>
Subject: Re: [PATCH] net: sched: sch_taprio: fix memleak in error path for sched list parse
Ivan Khoronzhuk <ivan.khoronzhuk@...aro.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@...aro.org>
> ---
Acked-by: Vinicius Costa Gomes <vinicius.gomes@...el.com>
Powered by blists - more mailing lists