From bc0e855bd9c000b7c2ad7d1507ea8f76858e2f0f Mon Sep 17 00:00:00 2001 From: Stephen Hurd Date: Wed, 29 Aug 2018 16:21:34 +0000 Subject: [PATCH] Fix compile error due to missing parenthesis in r338372 Approved by: re (gjb) --- sys/net/iflib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/iflib.c b/sys/net/iflib.c index b71da1fdfc83..faee06d02a83 100644 --- a/sys/net/iflib.c +++ b/sys/net/iflib.c @@ -3636,7 +3636,7 @@ iflib_txq_drain(struct ifmp_ring *r, uint32_t cidx, uint32_t pidx) if (__predict_false(ctx->ifc_flags & IFC_QFLUSH)) { DBG_COUNTER_INC(txq_drain_flushing); for (i = 0; i < avail; i++) { - if (__predict_true(r->items[(cidx + i) & (r->size-1)] != (void *)txq) + if (__predict_true(r->items[(cidx + i) & (r->size-1)] != (void *)txq)) m_free(r->items[(cidx + i) & (r->size-1)]); r->items[(cidx + i) & (r->size-1)] = NULL; }