svn commit: r347245 - head/sys/net
Marius Strobl
marius at FreeBSD.org
Wed May 8 09:03:44 UTC 2019
Author: marius
Date: Wed May 8 09:03:43 2019
New Revision: 347245
URL: https://svnweb.freebsd.org/changeset/base/347245
Log:
Allow to build without INET and INET6 again after r347221.
Submitted by: cam
Modified:
head/sys/net/iflib.c
Modified: head/sys/net/iflib.c
==============================================================================
--- head/sys/net/iflib.c Wed May 8 08:43:15 2019 (r347244)
+++ head/sys/net/iflib.c Wed May 8 09:03:43 2019 (r347245)
@@ -5694,8 +5694,10 @@ iflib_rx_structures_free(if_ctx_t ctx)
for (i = 0; i < ctx->ifc_softc_ctx.isc_nrxqsets; i++, rxq++) {
iflib_rx_sds_free(rxq);
+#if defined(INET6) || defined(INET)
if (if_getcapabilities(ctx->ifc_ifp) & IFCAP_LRO)
tcp_lro_free(&rxq->ifr_lc);
+#endif
}
free(ctx->ifc_rxqs, M_IFLIB);
ctx->ifc_rxqs = NULL;
More information about the svn-src-all
mailing list