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: NMatthew Wilcox <mawilcox@microsoft.com>
Showing
想要评论请 注册 或 登录