Mon, Feb 04, 2019 at 01:33:00PM CET, [email protected] wrote: >Refactor tcf_block_find() code into three standalone functions: >- __tcf_qdisc_find() to lookup Qdisc and increment its reference counter. >- __tcf_qdisc_cl_find() to lookup class. >- __tcf_block_find() to lookup block and increment its reference counter. > >This change is necessary to allow netlink tc rule update handlers to call >these functions directly in order to conditionally take rtnl lock >according to Qdisc class ops flags before calling any of class ops >functions. > >Signed-off-by: Vlad Buslov <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
