Page MenuHomeFreeBSD

D38929.diff
No OneTemporary

D38929.diff

diff --git a/sys/dev/ice/ice_iflib_txrx.c b/sys/dev/ice/ice_iflib_txrx.c
--- a/sys/dev/ice/ice_iflib_txrx.c
+++ b/sys/dev/ice/ice_iflib_txrx.c
@@ -341,7 +341,7 @@
/* Get packet type and set checksum flags */
ptype = le16toh(cur->wb.ptype_flex_flags0) &
ICE_RX_FLEX_DESC_PTYPE_M;
- if ((iflib_get_ifp(sc->ctx)->if_capenable & IFCAP_RXCSUM) != 0)
+ if ((if_getcapenable(iflib_get_ifp(sc->ctx)) & IFCAP_RXCSUM) != 0)
ice_rx_checksum(rxq, &ri->iri_csum_flags,
&ri->iri_csum_data, status0, ptype);

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 12:27 PM (20 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14677277
Default Alt Text
D38929.diff (511 B)

Event Timeline