Re: [PATCH] net: allwinner: emac: Add missing free_irq

From: David Miller
Date: Wed Jun 25 2014 - 19:32:09 EST


From: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>
Date: Mon, 23 Jun 2014 22:49:40 +0200

> If the mdio probe function fails in emac_open, the interrupt we just requested
> isn't freed. If emac_open is called again, for example because we try to set up
> the interface again, the kernel will oops because the interrupt wasn't properly
> released.
>
> Signed-off-by: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>
> Cc: <stable@xxxxxxxxxxxxxxx> # 3.11+

Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/