[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <548e3ae8-6db8-a45c-2d9c-0e4a09dc737b@mojatatu.com>
Date: Fri, 20 Dec 2019 07:25:20 -0500
From: Jamal Hadi Salim <jhs@...atatu.com>
To: Vlad Buslov <vladbu@...lanox.com>
Cc: Davide Caratti <dcaratti@...hat.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"David S. Miller" <davem@...emloft.net>,
Cong Wang <xiyou.wangcong@...il.com>,
Jiri Pirko <jiri@...nulli.us>, Roman Mashak <mrv@...atatu.com>
Subject: Re: [PATCH net 1/2] net/sched: cls_u32: fix refcount leak in the
error path of u32_change()
On 2019-12-20 7:11 a.m., Jamal Hadi Salim wrote:
> I see both as complementing each other. delete_empty()
> could serves like guidance almost for someone who wants to implement
> parallelization (and stops abuse of walk()) and
> TCF_PROTO_OPS_DOIT_UNLOCKED is more of a shortcut. IOW, you
> could at the top of tcf_proto_check_delete() return true
> if TCF_PROTO_OPS_DOIT_UNLOCKED is set while still invoking
Something like attached...
cheers,
jamal
View attachment "patchlet-doitunlocked" of type "text/plain" (516 bytes)
Powered by blists - more mailing lists