Re: [PATCH] Fix NULL pointer dereference on r8169 load

From: David Miller
Date: Sun Oct 12 2008 - 23:59:28 EST


From: Petr Vandrovec <petr@xxxxxxxxxxxxxx>
Date: Sun, 12 Oct 2008 10:13:52 +0200

> From: Petr Vandrovec <petr@xxxxxxxxxxxxxx>
>
> mmio_addr in r8169 needs to be initialized before use
>
> Maybe that all tp-> initialization should be moved before rtl_init_mac_address call,
> but this is enough to get rid of crash in rtl_rar_set due to mmio_addr being uninitialized.
>
> Signed-off-by: Petr Vandrovec <petr@xxxxxxxxxxxxxx>

Applied, thanks Petr.
--
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/