On Wed, Nov 28, 2018 at 9:44 AM Davide Caratti <[email protected]> wrote: > > when users set an invalid control action, kmemleak complains as follows: ... > change tcf_police_init() to avoid leaking 'new' in case TCA_POLICE_RESULT > contains TC_ACT_GOTO_CHAIN extended action. > > Fixes: c08f5ed5d625 ("net/sched: act_police: disallow 'goto chain' on > fallback control action") > Reported-by: Dan Carpenter <[email protected]> > Signed-off-by: Davide Caratti <[email protected]>
Acked-by: Cong Wang <[email protected]>
