The TargetProcessor field of the XENVIF_RECEIVER_RING structure is not being
cleared and hence may be non-zero when the buffer is checked. This patch
rectifies the situation.
Fixes: eb83dbd5162d ("Windows PV drivers fail to set up RSS when vCPU index >= 8")
Signed-off-by: Paul Durrant <pdurrant@amazon.com>
Ring->BackfillSize = 0;
Ring->OffloadOptions.Value = 0;
+ RtlZeroMemory(&Ring->TargetProcessor, sizeof (PROCESSOR_NUMBER));
+
KeFlushQueuedDpcs();
RtlZeroMemory(&Ring->QueueDpc, sizeof (KDPC));