summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2017-09-25 20:13:50 +0300
committerDavid S. Miller <davem@davemloft.net>2017-09-28 19:43:41 +0300
commit1d8134fea2eb460698a281f91c03c400f7e546ce (patch)
tree5bacbb640e20cbfefb00402959cf68125b42d3ac /include/linux/workqueue.h
parent76cf546c2802f6e25113ba481d7e85d0298768c6 (diff)
downloadlinux-1d8134fea2eb460698a281f91c03c400f7e546ce.tar.xz
net_sched: use idr to allocate basic filter handles
Instead of calling basic_get() in a loop to find a unused handle, just switch to idr API to allocate new handles. Cc: Chris Mi <chrism@mellanox.com> Cc: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions