[PATCH v21.11.6 2/2] vhost: fix missing lock protection in power monitor API

Kevin Traynor ktraynor at redhat.com
Thu Nov 23 11:52:49 CET 2023


On 23/11/2023 10:11, Maxime Coquelin wrote:
> The power monitor get API is missing both access lock
> protection and access status check.
> 
> Fixes: 34fd4373ce76 ("vhost: add power monitor API")
> Cc:stable at dpdk.org
> 
> Signed-off-by: Maxime Coquelin<maxime.coquelin at redhat.com>
> Acked-by: David Marchand<david.marchand at redhat.com>
> (cherry picked from commit b4c4e5675c85a9b471c252305811d15f6a6d2aa6)
> Signed-off-by: Maxime Coquelin<maxime.coquelin at redhat.com>
> ---
>   lib/vhost/vhost.c | 13 ++++++++++++-
>   1 file changed, 12 insertions(+), 1 deletion(-)

Applied to 21.11 branch. Thanks for backporting.



More information about the stable mailing list