summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChristopher Oo <t-chriso@microsoft.com>2015-08-05 00:52:40 -0700
committerBen Hutchings <ben@decadent.org.uk>2016-06-15 21:29:29 +0100
commitc84f51d79ae6ce03ad37966819a0b128cbf8649d (patch)
tree9436146e9839941017237dc3473f95784d0bdb17 /include/linux
parent6f8d26fded55fd29df8008b61ec4195f1009b9b3 (diff)
Drivers: hv_vmbus: Fix signal to host condition
commit a5cca686ce0ef4909deaee4ed46dd991e3a9ece4 upstream. Fixes a bug where previously hv_ringbuffer_read would pass in the old number of bytes available to read instead of the expected old read index when calculating when to signal to the host that the ringbuffer is empty. Since the previous write size is already saved, also changes the hv_need_to_signal_on_read to use the previously read value rather than recalculating it. Signed-off-by: Christopher Oo <t-chriso@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions