Thread (7 messages) 7 messages, 3 authors, 2017-12-15

Re: [patch net 2/2] net: sched: fix static key imbalance in case of ingress/clsact_init error

flat view

From: Cong Wang <hidden>
Date: 2017-12-15 19:18:23

On Fri, Dec 15, 2017 at 3:40 AM, Jiri Pirko [off-list ref] wrote:
From: Jiri Pirko <redacted>

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 <redacted>
Acked-by: Cong Wang <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help