Re: [dpdk-dev] [PATCH] net/netvsc: initialize vf spinlock

2019-06-18 Thread Ferruh Yigit
On 6/6/2019 5:15 PM, Stephen Hemminger wrote: > The VF spinlock was never initialized. It works because it is > in zmalloc'd memory and an unlocked lock on x86 is 0. > But for good practice, all spinlock's should be initialized. > > Fixes: dc7680e8597c ("net/netvsc: support integrated VF") > Signe

[dpdk-dev] [PATCH] net/netvsc: initialize vf spinlock

2019-06-06 Thread Stephen Hemminger
The VF spinlock was never initialized. It works because it is in zmalloc'd memory and an unlocked lock on x86 is 0. But for good practice, all spinlock's should be initialized. Fixes: dc7680e8597c ("net/netvsc: support integrated VF") Signed-off-by: Stephen Hemminger --- drivers/net/netvsc/hn_et