[PATCH] net/netvsc: replace the pointers to vmbus device from secondary process

Ferruh Yigit ferruh.yigit at xilinx.com
Thu Jun 30 14:53:04 CEST 2022


On 6/30/2022 12:52 AM, Stephen Hemminger wrote:
> On Wed, 29 Jun 2022 16:29:44 -0700
> longli at linuxonhyperv.com wrote:
> 
>> From: Long Li <longli at microsoft.com>
>>
>> The vmbus device is allocated via "calloc" before the EAL memory is
>> initialized. The secondary process can't reference the vmbus device as it is
>> not mapped correctly in the shared memory region.
>>
>> Replace all references to the vmbus device (and its contents) with the
>> pointers/contents set by the primary process.
>>
>> Fixes: 4e9c73e96e ("net/netvsc: add Hyper-V network device")
>> Cc: stable at dpdk.org
>> Signed-off-by: Long Li <longli at microsoft.com>
> 
> Acked-by: Stephen Hemminger <stephen at networkplumber.org>

Applied to dpdk-next-net/main, thanks.


More information about the stable mailing list