]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit42c2e24a4c53f7b4b27232023d1641f315d5acf5
treec0feae011ef7505b4b2624d6869ccaf29ae4a8ae
parentf762176366098f8770673e7c24a21fb201e6532a
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