diff options
| author | Cong Wang <[email protected]> | 2017-09-25 17:13:49 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-09-28 16:43:41 +0000 |
| commit | 76cf546c2802f6e25113ba481d7e85d0298768c6 (patch) | |
| tree | da7851495d338857ab07a6b03d980ed44c5db57e /net/sched/cls_basic.c | |
| parent | inetpeer: speed up inetpeer_invalidate_tree() (diff) | |
| download | kernel-76cf546c2802f6e25113ba481d7e85d0298768c6.tar.gz kernel-76cf546c2802f6e25113ba481d7e85d0298768c6.zip | |
net_sched: use idr to allocate bpf filter handles
Instead of calling cls_bpf_get() in a loop to find
a unused handle, just switch to idr API to allocate
new handles.
Cc: Daniel Borkmann <[email protected]>
Cc: Chris Mi <[email protected]>
Cc: Jamal Hadi Salim <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sched/cls_basic.c')
0 files changed, 0 insertions, 0 deletions
