[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[win-pv-devel] [PATCH xenvbd] Fix ASSERTion failure during disk unplug



BlkifRing->Path is not being NULL-ed out after freeing.

Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>
---
 src/xenvbd/ring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xenvbd/ring.c b/src/xenvbd/ring.c
index cd5b570..66dcfec 100644
--- a/src/xenvbd/ring.c
+++ b/src/xenvbd/ring.c
@@ -1848,7 +1848,7 @@ BlkifRingDestroy(
     RtlZeroMemory(&BlkifRing->ShutdownQueue, sizeof(LIST_ENTRY));
 
     __RingFree(BlkifRing->Path);
-    BlkifRing->Path;
+    BlkifRing->Path = NULL;
     BlkifRing->Index = 0;
     BlkifRing->Ring = NULL;
 
-- 
2.5.3


_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/win-pv-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.