net/i40e: fix flush of flow director filter
[dpdk.git] / drivers / compress / zlib / zlib_pmd.c
index 5a4d47d..e39be2e 100644 (file)
@@ -7,6 +7,8 @@
 
 #include "zlib_pmd_private.h"
 
+int zlib_logtype_driver;
+
 /** Compute next mbuf in the list, assign data buffer and length,
  *  returns 0 if mbuf is NULL
  */
@@ -30,6 +32,7 @@ process_zlib_deflate(struct rte_comp_op *op, z_stream *strm)
        default:
                op->status = RTE_COMP_OP_STATUS_INVALID_ARGS;
                ZLIB_PMD_ERR("Invalid flush value\n");
+               return;
        }
 
        if (unlikely(!strm)) {