[IRQ] Buggy driver makes __setup_irq segfault

Thomas Gleixner tglx at linutronix.de
Tue Jun 9 06:17:15 PDT 2015


On Tue, 9 Jun 2015, Mason wrote:
> I'm a noob, so I suppose this behavior is expected, but I'm reporting it,
> just in case. (I tested with 3.14.41)
> 
> Consider this buggy driver, calling request_irq() multiple times,
> and not calling free_irq in the cleanup routine.

Not freeing things in the module exit code will make stuff explode,
not only interrupts. So yes, it's expected behaviour.

Thanks,

	tglx




More information about the linux-arm-kernel mailing list