[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150225.175801.572493941223276136.davem@davemloft.net>
Date: Wed, 25 Feb 2015 17:58:01 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: linux@...ck-us.net
Cc: netdev@...r.kernel.org, andrew@...n.ch, f.fainelli@...il.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net: dsa: Introduce dsa_is_port_initialized
From: Guenter Roeck <linux@...ck-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 needed.
>
> Signed-off-by: Guenter Roeck <linux@...ck-us.net>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists