win-pvdrivers

changeset 937:a631c9e93095

Fix crash on install when xennet6 device is inactive
author James Harper <james.harper@bendigoit.com.au>
date Mon Jun 27 00:03:32 2011 +1000 (2011-06-27)
parents 373c6b36220c
children f476f07d3b0b
files xennet/xennet6_tx.c
line diff
     1.1 --- a/xennet/xennet6_tx.c	Mon Jun 20 23:31:04 2011 +1000
     1.2 +++ b/xennet/xennet6_tx.c	Mon Jun 27 00:03:32 2011 +1000
     1.3 @@ -606,6 +606,7 @@ XenNet_SendNetBufferLists(
     1.4        NdisMSendNetBufferListsComplete(xi->adapter_handle, curr_nbl, (send_flags & NDIS_SEND_FLAGS_DISPATCH_LEVEL)?NDIS_SEND_COMPLETE_FLAGS_DISPATCH_LEVEL:0);
     1.5        curr_nbl = next_nbl;
     1.6      }
     1.7 +    return;
     1.8    }
     1.9  
    1.10    KeAcquireSpinLock(&xi->tx_lock, &old_irql);