Commit [8844aa]  Maximize  Restore  History

genirq: Fix memory leak when calling irq_free_hwirqs()

irq_free_hwirqs() always calls irq_free_descs() with a cnt == 0
which makes it a no-op since the interrupt count to free is
decremented in itself.

Fixes: 7b6ef1262549f6afc5c881aaef80beb8fd15f908

Signed-off-by: Keith Busch <>
Acked-by: David Rientjes <>
Signed-off-by: Thomas Gleixner <>

Keith Busch Keith Busch 2014-06-30

Thomas Gleixner Thomas Gleixner 2014-07-05

changed kernel/irq/irqdesc.c
kernel/irq/irqdesc.c Diff Switch to side-by-side view

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks