svn commit: r342711 - head/sys/net
Konstantin Belousov
kib at FreeBSD.org
Thu Jan 3 01:01:04 UTC 2019
Author: kib
Date: Thu Jan 3 01:01:03 2019
New Revision: 342711
URL: https://svnweb.freebsd.org/changeset/base/342711
Log:
Fix typo, use boolean operator instead of bit-wise.
Reviewed by: marius, shurd
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/net/iflib.c
Modified: head/sys/net/iflib.c
==============================================================================
--- head/sys/net/iflib.c Thu Jan 3 00:36:33 2019 (r342710)
+++ head/sys/net/iflib.c Thu Jan 3 01:01:03 2019 (r342711)
@@ -1617,7 +1617,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 */
More information about the svn-src-all
mailing list