svn commit: r338373 - head/sys/net
Stephen Hurd
shurd at FreeBSD.org
Wed Aug 29 16:21:35 UTC 2018
Author: shurd
Date: Wed Aug 29 16:21:34 2018
New Revision: 338373
URL: https://svnweb.freebsd.org/changeset/base/338373
Log:
Fix compile error due to missing parenthesis in r338372
Approved by: re (gjb)
Modified:
head/sys/net/iflib.c
Modified: head/sys/net/iflib.c
==============================================================================
--- head/sys/net/iflib.c Wed Aug 29 15:55:25 2018 (r338372)
+++ head/sys/net/iflib.c Wed Aug 29 16:21:34 2018 (r338373)
@@ -3636,7 +3636,7 @@ iflib_txq_drain(struct ifmp_ring *r, uint32_t cidx, ui
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;
}
More information about the svn-src-head
mailing list