Thu, Mar 21, 2019 at 02:17:33PM CET, [email protected] wrote:
>Flower classifier only changes root pointer during init and destroy. Cls
>API implements reference counting for tcf_proto, so there is no danger of
>concurrent access to tp when it is being destroyed, even without protection
>provided by rtnl lock.
>
>Implement new function fl_head_dereference() to dereference tp->root
>without checking for rtnl lock. Use it in all flower function that obtain
>head pointer instead of rtnl_dereference().
>
>Signed-off-by: Vlad Buslov <[email protected]>
>Reviewed-by: Stefano Brivio <[email protected]>

Acked-by: Jiri Pirko <[email protected]>

Reply via email to