vmxnet3: Fix race between dev_open() and register_netdev()
authorSteve Hodgson <steve@purestorage.com>
Tue, 14 Aug 2012 16:13:36 +0000 (17:13 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Aug 2012 22:10:42 +0000 (15:10 -0700)
commite3bc4ffb814c847bde7706a80d5684d12c676a8b
treeaeecd25ee1e702aa2e721cf9d3f86aa7b5132128
parentc03307eab68d583ea6db917681afa14ed1fb3b84
vmxnet3: Fix race between dev_open() and register_netdev()

dev_open() can complete before register_netdev() returns.
Fix vmxnet3_probe_device() to support this.

Signed-off-by: Steve Hodgson <steve@purestorage.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vmxnet3/vmxnet3_drv.c