Re: [Patch net] net_sched: fix a missing idr_remove() in u32_delete_key()

2018-04-07 Thread Linus Torvalds
On Fri, Apr 6, 2018 at 5:19 PM, Cong Wang wrote: > 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

[Patch net] net_sched: fix a missing idr_remove() in u32_delete_key()

2018-04-06 Thread Cong Wang
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 Cc: Linus Torvalds Cc: Jamal