[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH xenvif 1/4] Fix an IsZeroMemory() ASSERTion failure
From: Paul Durrant <pdurrant@xxxxxxxxxx> 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@xxxxxxxxxx> --- src/xenvif/receiver.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xenvif/receiver.c b/src/xenvif/receiver.c index 505505ee886e..d4703b9bd322 100644 --- a/src/xenvif/receiver.c +++ b/src/xenvif/receiver.c @@ -2963,6 +2963,8 @@ __ReceiverRingTeardown( Ring->BackfillSize = 0; Ring->OffloadOptions.Value = 0; + RtlZeroMemory(&Ring->TargetProcessor, sizeof (PROCESSOR_NUMBER)); + KeFlushQueuedDpcs(); RtlZeroMemory(&Ring->QueueDpc, sizeof (KDPC)); -- 2.17.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |