Re: [PATCH 2/2] clk: Fix slab corruption in clk_unregister()

2014-05-14 Thread Sylwester Nawrocki
On 19/04/14 01:29, Stephen Boyd wrote: > When a clock is unregsitered, we iterate over the list of > children and reparent them to NULL (i.e. orphan list). While > iterating the list, we should use the safe iterators because the > children list for this clock is changing when we reparent the > chil

[PATCH 2/2] clk: Fix slab corruption in clk_unregister()

2014-04-18 Thread Stephen Boyd
When a clock is unregsitered, we iterate over the list of children and reparent them to NULL (i.e. orphan list). While iterating the list, we should use the safe iterators because the children list for this clock is changing when we reparent the children to NULL. Failure to iterate safely can lead