https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h...
On Wed, Mar 28, 2018 at 12:01 PM, Stephen Hemminger stephen@networkplumber.org wrote:
On Sun, 4 Mar 2018 22:24:08 -0700 kys@exchange.microsoft.com wrote:
From: Michael Kelley mhkelley@outlook.com
Fix bugs in signaling the Hyper-V host when freeing space in the host->guest ring buffer:
- The interrupt_mask must not be used to determine whether to signal on the host->guest ring buffer
- The ring buffer write_index must be read (via hv_get_bytes_to_write) *after* pending_send_sz is read in order to avoid a race condition
- Comparisons with pending_send_sz must treat the "equals" case as not-enough-space
- Don't signal if the pending_send_sz feature is not present. Older versions of Hyper-V that don't implement this feature will poll.
Fixes: 03bad714a161 ("vmbus: more host signalling avoidance")
Cc: Stable stable@vger.kernel.org # 4.14 and above Signed-off-by: Michael Kelley mhkelley@outlook.com Signed-off-by: K. Y. Srinivasan kys@microsoft.com
What ever happened to this patch? It doesn't seem to be in char-misc, upstream, or stable kernel tree yet.