1. 11 Oct, 2011 1 commit
    • K. Y. Srinivasan's avatar
      Staging: hv: util: Fix a bug in kvp implementation · 76e5f813
      K. Y. Srinivasan authored
      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 <longli@microsoft.com>
      for identifying the problem.
      Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
      Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
      Diagnosed-by: default avatarLong Li <longli@microsoft.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      76e5f813
  2. 05 Oct, 2011 39 commits