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:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| qca_7k.c | ||
| qca_7k.h | ||
| qca_debug.c | ||
| qca_debug.h | ||
| qca_framing.c | ||
| qca_framing.h | ||
| qca_spi.c | ||
| qca_spi.h | ||