cls_bpf: Convert to use idr_alloc_u32
authorMatthew Wilcox <mawilcox@microsoft.com>
Tue, 28 Nov 2017 15:46:29 +0000 (10:46 -0500)
committerMatthew Wilcox <mawilcox@microsoft.com>
Tue, 6 Feb 2018 21:41:26 +0000 (16:41 -0500)
commit0b4ce8da79d65f9773601619bfc90d096f0a170e
treec0feae011ef7505b4b2624d6869ccaf29ae4a8ae
parent05af0ebb0810ba3f9669649134b4b4ad42540eba
cls_bpf: Convert to use idr_alloc_u32

Use the new helper.  This has a modest reduction in both lines of code
and compiled code size.

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