Mon, Aug 26, 2019 at 03:45:02PM CEST, [email protected] wrote: >In order to remove dependency on rtnl lock from offloads code of >classifiers, take rtnl lock conditionally before executing driver >callbacks. Only obtain rtnl lock if block is bound to devices that require >it. > >Block bind/unbind code is rtnl-locked and obtains block->cb_lock while >holding rtnl lock. Obtain locks in same order in tc_setup_cb_*() functions >to prevent deadlock. > >Signed-off-by: Vlad Buslov <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
