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

Ben Pfaff blp at nicira.com
Fri Nov 14 22:10:46 UTC 2014


On Fri, Nov 14, 2014 at 11:35:21AM +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>

Applied, thanks!



More information about the dev mailing list