[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190205130709.GE2133@nanopsycho>
Date: Tue, 5 Feb 2019 14:07:09 +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 08/16] net: sched: traverse classifiers in
chain with tcf_get_next_proto()
Mon, Feb 04, 2019 at 01:32:53PM CET, vladbu@...lanox.com wrote:
>All users of chain->filters_chain rely on rtnl lock and assume that no new
>classifier instances are added when traversing the list. Use
>tcf_get_next_proto() to traverse filters list without relying on rtnl
>mutex. This function iterates over classifiers by taking reference to
>current iterator classifier only and doesn't assume external
>synchronization of filters list.
>
>Signed-off-by: Vlad Buslov <vladbu@...lanox.com>
Acked-by: Jiri Pirko <jiri@...lanox.com>
Powered by blists - more mailing lists