[ovs-dev] [PATCH 1/3] lib/flow: Update FLOW_WC_SEQ to skip assertions on miniflow_extract()

Jarno Rajahalme jrajahalme at nicira.com
Fri Aug 8 16:09:52 UTC 2014


Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>

> On Aug 7, 2014, at 6:15 PM, Daniele Di Proietto <ddiproietto at vmware.com> wrote:
> 
> Signed-off-by: Daniele Di Proietto <ddiproietto at vmware.com>
> ---
> lib/flow.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/lib/flow.c b/lib/flow.c
> index 5e04015..2e5ca0a 100644
> --- a/lib/flow.c
> +++ b/lib/flow.c
> @@ -118,10 +118,10 @@ struct mf_ctx {
> /* miniflow_push_* macros allow filling in a miniflow data values in order.
>  * Assertions are needed only when the layout of the struct flow is modified.
>  * 'ofs' is a compile-time constant, which allows most of the code be optimized
> - * away.  Some GCC versions gave warnigns on ALWAYS_INLINE, so these are
> + * away.  Some GCC versions gave warnings on ALWAYS_INLINE, so these are
>  * defined as macros. */
> 
> -#if (FLOW_WC_SEQ != 26)
> +#if (FLOW_WC_SEQ != 27)
> #define MINIFLOW_ASSERT(X) ovs_assert(X)
> #else
> #define MINIFLOW_ASSERT(X)
> -- 
> 2.0.1
> 
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev



More information about the dev mailing list