[dpdk-stable] [Patch v2] bus/vmbus: map to the correct ring buffer addresses for the secondary process

Thomas Monjalon thomas at monjalon.net
Wed Oct 13 13:55:27 CEST 2021


29/09/2021 22:46, longli at linuxonhyperv.com:
> From: Long Li <longli at microsoft.com>
> 
> The driver code had wrong assumption that all the addresses to ring buffers
> in the secondary process are the same as those in the primary process. This
> is not always correct as the channels could be mapped to different
> addresses in the secondary process.
> 
> Fix this by keeping track of all the mapped addresses from the primary
> process in the shared uio_res, and have second process map to the same
> addresses.
> 
> Fixes: 831dba47bd36 ("bus/vmbus: add Hyper-V virtual bus support")
> 
> Reported-by: Jonathan Erb <jonathan.erb at banduracyber.com>
> Cc: stable at dpdk.org
> Signed-off-by: Long Li <longli at microsoft.com>

You forgot this ack from v1:
Acked-by: Stephen Hemminger <sthemmin at microsoft.com>

Applied, thanks




More information about the stable mailing list