[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [win-pv-devel] [PATCH] Don't trust the integrity of the shared rings after migration
Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx> --- src/xenvif/transmitter.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/xenvif/transmitter.c b/src/xenvif/transmitter.c index b833ab6..a915d73 100644 --- a/src/xenvif/transmitter.c +++ b/src/xenvif/transmitter.c @@ -1949,7 +1949,9 @@ __TransmitterRingFakeResponses( KeMemoryBarrier(); - rsp_prod = Ring->Shared->rsp_prod; + // We can't trust anything in the shared ring + SHARED_RING_INIT(Ring->Shared); + rsp_prod = Ring->Front.rsp_cons; KeMemoryBarrier(); -- 2.1.1 _______________________________________________ win-pv-devel mailing list win-pv-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |