]> xenbits.xensource.com Git - pvdrivers/win/xenvif.git/commitdiff
Don't NULL out fragment in pending array __TransmitterRingFakeResponses()
authorPaul Durrant <paul.durrant@citrix.com>
Thu, 3 Sep 2015 09:27:09 +0000 (10:27 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Thu, 3 Sep 2015 09:29:08 +0000 (10:29 +0100)
It is completion of the response in TransmitterRingPoll() that should NULL
out the entry in the array. Doing so causes the assertion at
transmitter.c:2111 to fire in a debug build and a page fault in a non-debug
build.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
src/xenvif/transmitter.c

index a915d7348ea9dd4d486995a6479fc65efbcc4509..4cf21dbf4b74ce1d312fc86c89596f248770468e 100644 (file)
@@ -1961,7 +1961,6 @@ __TransmitterRingFakeResponses(
         netif_tx_response_t             *rsp;
 
         Fragment = Ring->Pending[id];
-        Ring->Pending[id] = NULL;
 
         if (Fragment == NULL)
             continue;