Guenter Roeck
d79d210736
net: dsa: Introduce dsa_is_port_initialized
...
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@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-02-25 17:57:48 -05:00
..
2014-12-05 12:43:04 +01:00
2014-10-15 10:25:04 +10:30
2015-01-23 17:51:15 -08:00
2014-11-24 04:28:48 -05:00
2014-12-09 16:29:03 -05:00
2014-11-24 04:28:48 -05:00
2015-02-22 17:00:08 -05:00
2015-02-03 09:02:12 +01:00
2015-02-22 23:00:45 -05:00
2015-01-29 14:20:02 -08:00
2015-01-18 01:03:45 -05:00
2015-02-11 17:06:05 -08:00
2015-02-22 15:59:54 -05:00
2014-11-16 14:50:52 -05:00
2014-12-10 22:41:55 -05:00
2015-01-18 23:36:08 -05:00
2014-10-01 00:44:04 +10:00
2015-02-25 17:57:48 -05:00
2015-01-02 15:46:41 -05:00
2015-01-18 01:03:45 -05:00
2015-02-20 15:24:04 -05:00
2015-02-24 16:25:25 -05:00
2014-11-24 04:28:49 -05:00
2015-01-30 18:08:25 -08:00
2014-12-10 22:41:55 -05:00
2014-11-24 04:28:48 -05:00
2015-01-18 01:03:45 -05:00
2014-10-24 15:51:42 -04:00
2015-01-25 00:23:21 -08:00
2015-02-04 14:57:45 -08:00
2015-01-03 01:51:51 +01:00
2015-01-30 17:58:39 -08:00
2015-02-22 15:59:54 -05:00
2015-02-11 20:25:11 -08:00
2015-02-05 14:33:28 -08:00
2014-11-24 04:28:48 -05:00
2015-02-04 09:15:18 +01:00
2015-02-14 20:20:40 -08:00
2015-01-18 01:03:45 -05:00
2015-01-19 16:20:17 -05:00
2015-02-11 14:35:44 -08:00
2015-02-04 14:57:45 -08:00
2014-11-24 04:28:48 -05:00
2015-02-04 20:46:55 -08:00
2015-02-22 15:59:54 -05:00
2015-02-05 14:33:28 -08:00
2015-02-12 10:39:41 -08:00
2015-02-01 23:16:34 -08:00
2015-02-09 13:20:49 -08:00
2015-01-28 23:15:07 -08:00
2015-02-04 01:34:14 -05:00
2014-10-07 20:28:44 -04:00
2015-02-04 14:57:45 -08:00
2014-11-24 04:28:48 -05:00
2015-01-18 01:03:45 -05:00
2015-02-22 17:01:22 -05:00
2014-12-02 20:01:20 -08:00
2014-12-16 15:53:03 -08:00
2015-02-04 01:34:15 -05:00