[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190205112233.GD2133@nanopsycho>
Date: Tue, 5 Feb 2019 12:22:33 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Vlad Buslov <vladbu@...lanox.com>
Cc: netdev@...r.kernel.org, jhs@...atatu.com, xiyou.wangcong@...il.com,
davem@...emloft.net, ast@...nel.org, daniel@...earbox.net
Subject: Re: [PATCH net-next v3 07/16] net: sched: introduce reference
counting for tcf_proto
Mon, Feb 04, 2019 at 01:32:52PM CET, vladbu@...lanox.com wrote:
>In order to remove dependency on rtnl lock and allow concurrent tcf_proto
>modification, extend tcf_proto with reference counter. Implement helper
>get/put functions for tcf proto and use them to modify cls API to always
>take reference to tcf_proto while using it. Only release reference to
>parent chain after releasing last reference to tp.
>
>Signed-off-by: Vlad Buslov <vladbu@...lanox.com>
Acked-by: Jiri Pirko <jiri@...lanox.com>
Powered by blists - more mailing lists