The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=7fcba358114b147026d83c6952adb7948f4a1585
commit 7fcba358114b147026d83c6952adb7948f4a1585 Author: Mark Johnston <ma...@freebsd.org> AuthorDate: 2025-05-28 13:31:34 +0000 Commit: Mark Johnston <ma...@freebsd.org> CommitDate: 2025-06-20 12:46:09 +0000 igc: Initialize helper variables in igc_neweitr() The justification is the same as in commit a5b5220b1807 ("e1000: Initialize helper variables in em_newitr()"). Reviewed by: kbowling MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D50547 (cherry picked from commit d6a9f49185797c6b67e517a3d83ef63436c8d4f3) --- sys/dev/igc/if_igc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/igc/if_igc.c b/sys/dev/igc/if_igc.c index 318d2770911c..f34b0507c1ea 100644 --- a/sys/dev/igc/if_igc.c +++ b/sys/dev/igc/if_igc.c @@ -936,6 +936,7 @@ igc_neweitr(struct igc_softc *sc, struct igc_rx_queue *que, goto igc_set_next_eitr; } + bytes = bytes_packets = 0; /* Get largest values from the associated tx and rx ring */ if (txr->tx_bytes && txr->tx_packets) { bytes = txr->tx_bytes;