From: Guenter Roeck
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.
>
>
From: Guenter Roeck li...@roeck-us.net
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
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
---
Applies to net-next on top of Florian's
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 li...@roeck-us.net
---
Applies to net-next on top
4 matches
Mail list logo