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

2014-10-06 Thread Eitan Eliahu
Acked-by: Eitan Eliahu Thanks! -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Sorin Vinturis Sent: Monday, October 06, 2014 6:19 AM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH v3] datapath-windows: Incorrect assumption of the IRQL Acquiring a spin

[ovs-dev] [PATCH v3] 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