commit | 268be0f7a7d9b3644bcb99568efba13cb208b627 | [log] [tgz] |
---|---|---|
author | Stefan Wahren <stefan.wahren@i2se.com> | Sat May 09 07:58:09 2015 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon May 11 11:01:20 2015 -0400 |
tree | 831fbcf9535f2394b7f66c8ffb2a7a7a672bf9d1 | |
parent | 7c0c82682873354490a5b67c77331bd65a356236 [diff] |
net: qca_spi: Fix possible race during probe Registering the netdev before setting the priv data is unsafe. So fix this possible race by setting the priv data first. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Cc: <stable@vger.kernel.org> # v3.18+ Fixes: 291ab06e (net: qualcomm: new Ethernet over SPI driver for QCA7000) Signed-off-by: David S. Miller <davem@davemloft.net>