diff options
| author | Cong Wang <xiyou.wangcong@gmail.com> | 2017-09-25 20:13:49 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-09-28 19:43:41 +0300 |
| commit | 76cf546c2802f6e25113ba481d7e85d0298768c6 (patch) | |
| tree | da7851495d338857ab07a6b03d980ed44c5db57e /include/linux | |
| parent | 8f1975e31d8ed0c021a1993a4d9123dd39c740ea (diff) | |
| download | linux-76cf546c2802f6e25113ba481d7e85d0298768c6.tar.xz | |
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 <daniel@iogearbox.net>
Cc: Chris Mi <chrism@mellanox.com>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
