Re: [PATCH net] netvsc: fix race during initialization

2017-03-16 Thread David Miller
From: Stephen Hemminger Date: Thu, 16 Mar 2017 12:21:32 -0700 > When device is being setup on boot, there is a small race where > network device callback is registered, but the netvsc_device pointer > is not set yet. This can cause a NULL ptr dereference if packet > arrives during this window. >

[PATCH net] netvsc: fix race during initialization

2017-03-16 Thread Stephen Hemminger
When device is being setup on boot, there is a small race where network device callback is registered, but the netvsc_device pointer is not set yet. This can cause a NULL ptr dereference if packet arrives during this window. Fixes: 46b4f7f5d1f7 ("netvsc: eliminate per-device outstanding send coun