]> git.baikalelectronics.ru Git - kernel.git/commit
net sched actions: Convert to use idr_alloc_u32
authorMatthew Wilcox <mawilcox@microsoft.com>
Tue, 28 Nov 2017 15:28:15 +0000 (10:28 -0500)
committerMatthew Wilcox <mawilcox@microsoft.com>
Tue, 6 Feb 2018 21:40:33 +0000 (16:40 -0500)
commit3c3482cce4880f1cd055e18048ad824221b50992
treef9167acbde7ef5aa296cbb7b6839e79911f2933a
parente1e10b17838276628e8431cbe8ff3da8578a5789
net sched actions: Convert to use idr_alloc_u32

Use the new helper.  Also untangle the error path, and in so doing
noticed that estimator generator failure would lead to us leaking an
ID.  Fix that bug.

Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
net/sched/act_api.c