diff options
| author | Cong Wang <xiyou.wangcong@gmail.com> | 2018-04-06 17:19:41 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-12 12:30:01 +0200 |
| commit | d0fd3e03df3f139b2eb46368ba6064d8d0c460a8 (patch) | |
| tree | e07401a73f2ba6a16cee34f837e28697db7b67b2 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9f13ba19ddb668081fec2e0554e2d3c923591807 (diff) | |
net_sched: fix a missing idr_remove() in u32_delete_key()
[ Upstream commit f12c643209db0626f2f54780d86bb93bfa7a9c2d ]
When we delete a u32 key via u32_delete_key(), we forget to
call idr_remove() to remove its handle from IDR.
Fixes: e7614370d6f0 ("net_sched: use idr to allocate u32 filter handles")
Reported-by: Marcin Kabiesz <admin@hostcenter.eu>
Tested-by: Marcin Kabiesz <admin@hostcenter.eu>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
