Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jan 2019 00:34:43 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r342795 - stable/12/sys/net
Message-ID:  <201901060034.x060Yhkf029144@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sun Jan  6 00:34:43 2019
New Revision: 342795
URL: https://svnweb.freebsd.org/changeset/base/342795

Log:
  MFC r342711:
  Fix typo, use boolean operator instead of bit-wise.

Modified:
  stable/12/sys/net/iflib.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/net/iflib.c
==============================================================================
--- stable/12/sys/net/iflib.c	Sun Jan  6 00:32:14 2019	(r342794)
+++ stable/12/sys/net/iflib.c	Sun Jan  6 00:34:43 2019	(r342795)
@@ -1640,7 +1640,7 @@ iflib_txsd_alloc(iflib_txq_t txq)
 		    (uintmax_t)sctx->isc_tx_maxsize, nsegments, (uintmax_t)sctx->isc_tx_maxsegsize);
 		goto fail;
 	}
-	if ((if_getcapabilities(ctx->ifc_ifp) & IFCAP_TSO) &
+	if ((if_getcapabilities(ctx->ifc_ifp) & IFCAP_TSO) &&
 	    (err = bus_dma_tag_create(bus_get_dma_tag(dev),
 			       1, 0,			/* alignment, bounds */
 			       BUS_SPACE_MAXADDR,	/* lowaddr */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901060034.x060Yhkf029144>