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

Stephen Hemminger stephen at networkplumber.org
Thu Jun 30 01:52:18 CEST 2022


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>


More information about the stable mailing list