]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
vmw_balloon: VMCI_DOORBELL_SET does not check status
authorNadav Amit <namit@vmware.com>
Tue, 19 Jun 2018 23:00:26 +0000 (16:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Sep 2018 08:32:35 +0000 (10:32 +0200)
commit32b5be5b44e966cffe4833544e8f3b634615143e
tree5ba6791daf3d9017a37e466595ac0a54efd5f35e
parent45696b968345217a8fc2b661c9f476d828db8677
vmw_balloon: VMCI_DOORBELL_SET does not check status

commit ce664331b2487a5d244a51cbdd8cb54f866fbe5d upstream.

When vmballoon_vmci_init() sets a doorbell using VMCI_DOORBELL_SET, for
some reason it does not consider the status and looks at the result.
However, the hypervisor does not update the result - it updates the
status. This might cause VMCI doorbell not to be enabled, resulting in
degraded performance.

Fixes: 48e3d668b790 ("VMware balloon: Enable notification via VMCI")
Cc: stable@vger.kernel.org
Reviewed-by: Xavier Deguillard <xdeguillard@vmware.com>
Signed-off-by: Nadav Amit <namit@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/vmw_balloon.c