Re: [PATCH net-next] net: dsa: Introduce dsa_is_port_initialized

From: David Miller
Date: Wed Feb 25 2015 - 17:58:12 EST


From: Guenter Roeck <linux@xxxxxxxxxxxx>
Date: Tue, 24 Feb 2015 23:02:02 -0800

> To avoid race conditions when using the ds->ports[] array,
> we need to check if the accessed port has been initialized.
> Introduce and use helper function dsa_is_port_initialized
> for that purpose and use it where needed.
>
> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>

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