Re: [ovs-dev] [PATCH v4] datapath-windows: Incorrect assumption of the IRQL

2014-10-06 Thread Ben Pfaff
On Mon, Oct 06, 2014 at 03:19:23PM +, Sorin Vinturis wrote: > Acquiring a spin lock raises the IRQL to DISPATCH_LEVEL. But > in many places of the code, while holding a spin lock, there > are useless checks for the current IRQL against DISPATCH_LEVEL. > Also, the dispatch flag is not correctly

[ovs-dev] [PATCH v4] datapath-windows: Incorrect assumption of the IRQL

2014-10-06 Thread Sorin Vinturis
Acquiring a spin lock raises the IRQL to DISPATCH_LEVEL. But in many places of the code, while holding a spin lock, there are useless checks for the current IRQL against DISPATCH_LEVEL. Also, the dispatch flag is not correctly set when calling NdisAcquireRWLockXXX() functions, which causes an extra