Skip to content
Commit f12c6432 authored by Cong Wang's avatar Cong Wang Committed by David S. Miller
Browse files

net_sched: fix a missing idr_remove() in u32_delete_key()

When we delete a u32 key via u32_delete_key(), we forget to
call idr_remove() to remove its handle from IDR.

Fixes: e7614370

 ("net_sched: use idr to allocate u32 filter handles")
Reported-by: default avatarMarcin Kabiesz <admin@hostcenter.eu>
Tested-by: default avatarMarcin Kabiesz <admin@hostcenter.eu>
Signed-off-by: default avatarCong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dd9a122a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment