diff options
author | Matthew Wilcox <mawilcox@microsoft.com> | 2017-11-28 20:05:54 +0300 |
---|---|---|
committer | Matthew Wilcox <mawilcox@microsoft.com> | 2018-02-07 00:41:27 +0300 |
commit | ffdc2d9e1afd20e9f9d205115661481e984542d6 (patch) | |
tree | aa224291034eed97a7686c6ae81b4846a800dbcb /lib/idr.c | |
parent | 85bd0438a249e7a7a0622e0b0b6663595fadcc27 (diff) | |
download | linux-ffdc2d9e1afd20e9f9d205115661481e984542d6.tar.xz |
cls_u32: Reinstate cyclic allocation
Commit e7614370d6f0 ("net_sched: use idr to allocate u32 filter handles)
converted htid allocation to use the IDR. The ID allocated by this
scheme changes; it used to be cyclic, but now always allocates the
lowest available. The IDR supports cyclic allocation, so just use
the right function.
Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Diffstat (limited to 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions