: Re: [ovs-dev] [PATCH v2] datapath-windows: Removed all duplicate
checking of gOvsSwitchContext
On Fri, Nov 14, 2014 at 06:58:47PM +, 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
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
On Fri, Nov 14, 2014 at 06:58:47PM +, 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,