[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171215.154457.1510272539253164372.davem@davemloft.net>
Date: Fri, 15 Dec 2017 15:44:57 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: jiri@...nulli.us
Cc: netdev@...r.kernel.org, jhs@...atatu.com, xiyou.wangcong@...il.com,
mlxsw@...lanox.com, daniel@...earbox.net
Subject: Re: [patch net 2/2] net: sched: fix static key imbalance in case
of ingress/clsact_init error
From: Jiri Pirko <jiri@...nulli.us>
Date: Fri, 15 Dec 2017 12:40:13 +0100
> From: Jiri Pirko <jiri@...lanox.com>
>
> Move static key increments to the beginning of the init function
> so they pair 1:1 with decrements in ingress/clsact_destroy,
> which is called in case ingress/clsact_init fails.
>
> Fixes: 6529eaba33f0 ("net: sched: introduce tcf block infractructure")
> Signed-off-by: Jiri Pirko <jiri@...lanox.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists