lib/flow: Update FLOW_WC_SEQ to skip assertions on miniflow_extract()
authorDaniele Di Proietto <ddiproietto@vmware.com>
Fri, 8 Aug 2014 17:15:57 +0000 (10:15 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Fri, 8 Aug 2014 17:15:57 +0000 (10:15 -0700)
Signed-off-by: Daniele Di Proietto <ddiproietto@vmware.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
lib/flow.c

index 5e04015..2e5ca0a 100644 (file)
@@ -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)