[ovs-dev] [PATCH v2] datapath-windows: Removed all duplicate checking of gOvsSwitchContext

Ben Pfaff blp at nicira.com
Fri Nov 14 22:11:40 UTC 2014


On Fri, Nov 14, 2014 at 06:58:47PM +0000, Sorin Vinturis wrote:
> Right now the gOvsSwitchContext pointer is checked against NULL
> in a lot of places of the OVS extension code. This check should
> be done only once to avoid wasteful checks. Thus I have added the
> check in the dispatch routine, before doing any processing, and
> removed all other checks from the rest of the code.
> 
> Signed-off-by: Sorin Vinturis <svinturis at cloudbasesolutions.com>
> Acked-by: Eitan Eliahu <eliahue at vmware.com>

Sorry, I just applied v1, please re-send any delta from v1 as a new
patch.



More information about the dev mailing list