net: sched: use tcf_block_q helper to get q pointer for sch_tree_lock
authorJiri Pirko <[email protected]>
Fri, 13 Oct 2017 12:01:04 +0000 (14:01 +0200)
committerDavid S. Miller <[email protected]>
Mon, 16 Oct 2017 20:00:41 +0000 (21:00 +0100)
commit74e3be6021d22df2ffcb691eae1affeb2bd0128e
tree11a0c965050d8031cc34cd526abc29da7e29acf1
parent1abf272022cf1d18469405f47b4ec49c6a3125db
net: sched: use tcf_block_q helper to get q pointer for sch_tree_lock

Use tcf_block_q helper to get q pointer to be used for direct call of
sch_tree_lock/unlock instead of tcf_tree_lock/unlock.

Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/net/sch_generic.h
net/sched/sch_api.c