Re: [PATCH 1/1] Staging: hv: util: Fix a bug in kvp implementation
From: Greg KH <gregkh@suse.de>
Date: 2011-10-05 04:45:01
Also in:
lkml
From: Greg KH <gregkh@suse.de>
Date: 2011-10-05 04:45:01
Also in:
lkml
On Tue, Oct 04, 2011 at 02:00:02PM -0700, K. Y. Srinivasan wrote:
The host gurantees that there can be only one kvp transaction active against the guest. So, the transaction active state is needed only to protect against spurious user level calls. The current code had a race condition where the guest could prematurely return because the previous transaction state was not cleared - this state was being cleared after sending the response to the host and there was a window where the host could notify the guest of a new transaction before the transaction active state was properly set. Also deal with the case when the user mode component does not respond in a timely fashion correctly. I would like to thank Long Li [off-list ref] for identifying the problem.
So that would be a "Reported-by:" tag, we don't have a "Diagnosed-by" do we? And should this go to the older (i.e. stable) kernels as well? thanks, greg k-h