diff options
author | Cong Wang <xiyou.wangcong@gmail.com> | 2018-04-07 03:19:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-12 13:30:01 +0300 |
commit | d0fd3e03df3f139b2eb46368ba6064d8d0c460a8 (patch) | |
tree | e07401a73f2ba6a16cee34f837e28697db7b67b2 /arch/sh/include/mach-dreamcast/mach | |
parent | 9f13ba19ddb668081fec2e0554e2d3c923591807 (diff) | |
download | linux-d0fd3e03df3f139b2eb46368ba6064d8d0c460a8.tar.xz |
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 'arch/sh/include/mach-dreamcast/mach')
0 files changed, 0 insertions, 0 deletions