Date: Fri, 20 Jun 2025 13:52:25 GMT From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 7fcba358114b - stable/14 - igc: Initialize helper variables in igc_neweitr() Message-ID: <202506201352.55KDqPMi058121@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=7fcba358114b147026d83c6952adb7948f4a1585 commit 7fcba358114b147026d83c6952adb7948f4a1585 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2025-05-28 13:31:34 +0000 Commit: Mark Johnston <markj@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;home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202506201352.55KDqPMi058121>
